I am having trouble sending HTML emails and I'm not sure where the problem is coming from. I am sending one copy to Microsoft Entourage on my Mac and one copy to Outlook Express on my PC. Entourage displays it fine but Outlook displays the code.
Here is my code:
$to = $email;
$subject = "Lax World Design On-line: Jersey";
$message = $html;
//$headers = "From: ".$replyto."\r\n";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
mail($to, $subject, $message, $headers);
Here's what shows up in Outlook:
Content-type: text/html; charset=iso-8859-1
Status: RO
X-UIDL: 1053456763.27631.echo
Could it be that my server is not set up to send HTML emails?