Welcome to WebmasterWorld Guest from 184.108.40.206
I'm having a spot of bother with mime-types.
The problem I am having is that when I send out a newsletter and I then view it using Outlook it shows HTML code. Now I've used the same code on another newsletter, and that works okay.
The code below is what I use in the $header variable. Now I'm not quite if its my code, or its something to do with mail server settings, if thats the case then I will have to contact my host.
What do you reckon?
/* To send HTML mail, you can set the Content-type header. */
$headers = "X-Mailer: DataOvation\n"; // mailer
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: \"Domain\" <email@example.com>\r\n";
$headers .= "Reply-To: \"domain\" <firstname.lastname@example.org>\r\n";
$headers .= "X-Priority: 3\r\n";
$headers .= "X-MSMail-Priority: High\r\n";
$headers .= "X-Mailer: Just My Server";