I have a newsletter mailing program I've written to sent out HTML formatted emails to our newsletter subscribers...
now all of the sudden it doesn't work.
I've tried the same program on 3 different servers and none of them are working right, they send out the email but its not formatted with the same HTML code I send out.
here is the basic code I'm using
the body and subject parameters come from a form that I pass to this code: thanks all!!
//MAIL THE INFORMATION TO MY ACCOUNT
$toaddress = "jim@yahoo.com";
$mailcontent = $body;
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
/ additional headers /
$headers .= "From: Drawing Down <info@drawingdown.com>\r\n";
mail($toaddress, $subject, $mailcontent, $headers);