|
Posted by michael on 10/05/07 12:06
On Oct 5, 12:45 pm, damezumari <jannordgr...@gmail.com> wrote:
> 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
Ahh that explains a lot.
I'm glad to hear you got it to work ;-)
//Michael
Navigation:
[Reply to this message]
|