[help] Bizarre mail() problem
- From: Ben Jamieson <ben@xxxxxxxxxxxxxxx>
- Date: Tue, 27 Sep 2005 22:52:30 -0400
Hi all,
New here - arrived out of desperation....
I have some basic code as follows:
[code] .... $name=$details['name']//this coming from mysql query ..... $subject="my subject"; $body=<<<MESSAGE $name
Thank you for blah blah blah MESSAGE;
mail($toaddress,$subject,$body, "From: $admin_email"); [/code]
All very basic stuff, I've used it a million times.
Now, in a bizarre turn of events, the message body ONLY shows the value of $name. Nothing below that comes through in the email.
Even more bizarre - if I echo the contents of $body to the page, everything shows up fine. I have pasted this into my editor to check for stray characters, but there's nothing out of the ordinary.
Does anyone have any clues as to what's happening - its driving me mad!
.
- Follow-Ups:
- Re: [help] Bizarre mail() problem
- From: DrTebi
- Re: [help] Bizarre mail() problem
- Prev by Date: PayPal Toolkit 0.50... advice...
- Next by Date: Re: how to move into a recordset?
- Previous by thread: PayPal Toolkit 0.50... advice...
- Next by thread: Re: [help] Bizarre mail() problem
- Index(es):