Possible Duplicate:
mail() header problem for html email
I'm using the following for $headers
:
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
$headers .= "From: " . $from . "\r\n";
$headers .= "Reply-To: ". $from . "\r\n";
$headers .= "CC: me@site.com\r\n";
My html
looks fine in Gmail, however, it appears as raw html
in outlook.
Did I forget something in the header?
I checked out the question located here https://stackoverflow.com/a/2423592/1012061 as @Shawn H. recommended in the comments above.
One of the answers says this:
"I had a very similar problem, try removing the /r from your returns and use only /n. Outlook andd hotmail have trouble with /r/n."
That worked great!
In outlook 2007 (at least). It is possible to change the email-format. Have a look at: Tools > Options > E-Mail-Format (tab) > Messageformat (select box) > change to html
Hope that helps.