|
Posted by Ben Jamieson on 09/28/05 19:26
On 2005-09-28 08:53:52 -0400, DrTebi <drtebi@yahoo.com> said:
> Hello,
> what comes to mind is that you are not using end of line characters for
> your extra headers (the "From: $admin_email").
>
> A couple things to try, change the mail line to this:
> mail($toaddress,$subject,$body, "From: $admin_email\n");
> or this:
> mail($toaddress,$subject,$body, "From: $admin_email\r\n");
> or this:
> mail($toaddress,$subject,$body, "From: $admin_email\r\n\r\n");
> If that does still not work, try this:
> mail($toaddress,$subject,$body);
>
> This should fix it I hope, because as far as I know, there must
> be an extra line break after all the header stuff.
>
> DrTebi
Thanks for the feedback, but that's not it. Same format I'm using on 47
other client sites, all on the same server (mine), all working just fine
The only thing I can think of is that there are some stray, invisible
characters in the message body. Some of the variables I am dumping in
there are stored in the mysql table encrypted with blowfish routines. I
am wondering if the decryption is leaving something weird and invisible
in the result, as the message *always* gets cut immediately following
one of the included variables, though which one appears completely
random.
No idea how to test for this though....
Navigation:
[Reply to this message]
|