Hello,
I am hoping someone could sort this problem out for me. I have a bulk e-mail program that seems to be sending the client the emails as an attachment. I get the email through as an HTML mail, he gets the mail through as an attachment. I am thinking this has to do with a firewall/virus scan/preference in Outlook, or something along these lines, but I am unsure. He does get HTML mails through from other clients websites. Here is some code that I use, the only thing I can think of is, should I be using /r/n for all line breaks including the message body?
$test_email="me@domain.com";
$subject="Subject of Message";
$headers="From: Me <me@domain.com>\r\nContent-Type: text/html; charset=iso-8859-1";
$send_message="<html>
<head>
<title>Hello World</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">
</head>
<body bgcolor=\"#FFFFFF\" text=\"#000000\" link=\"#CC0033\" alink=\"#CC0033\" vlink=\"#CC0033\" topmargin=\"0\" leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\"><table cellspacing=\"0\" cellpadding=\"0\" width=\"525\" border=\"0\">
<tbody>
<tr>
<td colspan=\"3\"><img height=\"87\" alt=\"mailer header\" src=\"http://www.domain.com/mailer/downloads/Image/mailer_header.jpg\" width=\"525\"/></td>
</tr></tbody></table></body>
</html>";
@mail($test_email,$subject,$send_message,$headers);