how to set from address according to the form input email address for wp_mail()?
If I’m understanding you right you just are having trouble getting the from set? The easiest way would just be adding the from in the email headers in the wp_mail function. Here is an example of one of my old simple email sending functions that works: function contact_send() { $title=”New message Received”; $headers = array(‘From: … Read more