Posted by damezumari on 10/05/07 10:45
Hi Michael,
Thank you for answering!
$fromname = $_SESSION['myname'];
$fromaddress = $_SESSION['myemailaddress'];
$headers = "From: \"".$fromname."\" <".$fromaddress.">\n";
$bcc = $_SESSION['myemailaddress'];
$headers .= 'Bcc: '.$bcc. "\n";
$headers .= "\nMIME-Version: 1.0\n" .
"Content-Type: multipart/mixed;\n" .
" boundary=\"{$mime_boundary}\"";
This was my offending code!
I had too many line shifts (\n) in $headers.
I changed the last line to:
$headers .= "MIME-Version: 1.0\n" .
"Content-Type: multipart/mixed;\n" .
" boundary=\"{$mime_boundary}\"";
and then it worked!
Regards,
Jan Nordgreen
Navigation:
[Reply to this message]
|