HTML email formatting
Posted
by
Paul
on Stack Overflow
See other posts from Stack Overflow
or by Paul
Published on 2012-04-05T01:02:55Z
Indexed on
2012/04/05
17:29 UTC
Read the original article
Hit count: 249
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: [email protected]\r\n";
My html
looks fine in Gmail, however, it appears as raw html
in outlook.
Did I forget something in the header?
© Stack Overflow or respective owner