I've got a script sending email like this:
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'To:' . $mem_email . "\r\n";
$headers .= 'From: "Chris, Mysite" <firstname.lastname@example.org>' . "\r\n";
Hi $screen_name,<br /><br />
And I am sending them an html mail. I find it works best if I don't have any line breaks (other than <br>'s, so I don't get unexpected line spacing.
But when I send it, I get an occasional exclamation mark ! and then a space afterwords. Then the text resumes ok.
Reading through the php site, under 'bugs', is says this is a sendmail issue and that the solution is "to use base64-encoding".
How do I use base64-encoding? and will that work with MS outlook ok (I use eudora myself).