Re: How to include ALL of text in email notifications to those subscribed to a topic? [message #33390 is a reply to message #33387] |
Tue, 29 August 2006 17:50 |
ky@smi
Messages: 27 Registered: June 2006
Karma:
|
Junior Member |
|
|
ky@smi wrote on Tue, 29 August 2006 17:10 | Hi Again,
My new problem is that I'm having problems with the headers going to mail(). If I include
mail($to, $subj, str_replace("\r", "", $body), "From: ".$from."\nErrors-To: ".$from."\nReturn-Path: ".$from."\nX-Mailer: FUDforum v".$GLOBALS['FORUM_VERSION'].$header.$bcc);
I cannot see the email because of an error in the header. If I strip the header to only the BCC,
mail($to, $subj, str_replace("\r", "", $body), $bcc);
then none of the MIME works, but I can read the email.
|
I guess I should quantify the error I'm getting. My email client says "Empty or Malformed message". It seems to skip the plain text and html message and directly transfer encodes with BASE64.
|
|
|