• everyeurocounts

    (@everyeurocounts)


    hi,

    I have a function that sets headers for wp-mail (not my own).

    $headers = 'From: "dave" <' . $fromemail . '>\r\n';
    		//$headers .= "Reply-To: ". $fromemail . "\r\n";
    		$headers .= "MIME-Version: 1.0\r\n";
    		$headers .= "Content-Type: text/html; charset=utf-8\r\n";

    I had to add a name to the from field to get the mail to send but this also has the problem that the entire header is visible in the email address shown by outlook.

    Also the reply to field will cause the mail to fail, i’ve tried adding a name and < > to no avail.

    Does anyone know how to solve this?

    thanks
    David

  • The topic ‘wpmail & headers’ is closed to new replies.