Here's a stumper - when I use mail() to fire off a message (in HTML format) to someone, it randomly inserts an exclamation point and line break into the message body. If I simply echo the message body into a webpage, however, it comes out clean! Anyone had this problem? The code in question is:
mail($strEmailTo, "Form Submission", $msgBody, "From: $strEmailFrom\r\nContent-type: text/html\r\n");
$msgBody is put together from many other lines of code, but ultimately, if it echoes OK to screen, why won't it transmit correctly through email??
-dje