HI,
I know this has been discussed many times over, but I am having trouble with HTML e-mail. Here are my headers:
$recipient = $MailTo;
$mailheaders = \"From:joe@foo.com\r\n\";
$mailheaders .= \"Content-Type: text/html; charset=ISO-8859-1\n\";
mail(\"$recipient\", \"$Subject\", \"$Message\", \"$mailheaders\");
$Message is a textarea box where I want to insert HTML to be sent out via e-mail. When the mail gets sent out, the HTML gets returned like this:
<HEAD><TITLE></TITLE></HEAD>
<BODY BGCOLOR=\\"#FFFFFF\\" TEXT=\\"#000000\\">
</BODY>
If I send the mail with the \" escaped like this \\" I get:
<BODY BGCOLOR=\\\\"#FFFFFF\\\\" TEXT=\\\\"#000000\\\\">
How do I stop PHP from escaping the quotations?
Thanks,
Joe