Re: [help] Bizarre mail() problem



On 2005-09-28 08:53:52 -0400, DrTebi <drtebi@xxxxxxxxx> 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....

.



Relevant Pages

  • Re: Y&R- Was Sharon Right?
    ... the difference is that Sharon doesn't usually *set ... saying she generally does not *start out* with these goals in mind. ... but it would be nice if characters that are on ... consistent with their historical traits again. ...
    (rec.arts.tv.soaps.cbs)
  • Re: Meltdown imminent at DC?
    ... have a REASON IN MIND for why not all the characters ... two, or even an answer in mind, is often enough. ... story), does it make sense for the reader to say, "Hey, if Thor knows ... Today, instead, they insist on including all the other characters, ...
    (rec.arts.comics.dc.universe)
  • Re: Battlestar Galatica -Finished Series 1 - Outstanding!!
    ... It's a really good time for telly science-fiction at the moment. ... but I've not seen Heroes. ... seem to fit the characters too well. ... comes to mind as an obvious one. ...
    (uk.media.tv.misc)
  • Re: Starting new campaign, picking an attribute gen system
    ... Swap the scores of two attributes if you so please. ... measurement of the characters intellectual capacity. ... I don't mind it as a measure of the force of identity of a character. ... If we listen to D&D on this matter, the soul is vaguely ...
    (rec.games.frp.dnd)
  • Re: Old tv series you would like to see again
    ... Just two that spring to mind. ... No, actually, Private Schultz is long overdue. ... Private Schulz (there's no T in his name - I didn't realise that either till ... IMDB lists him as playingfour characters, ...
    (uk.media.tv.misc)