Sorry for the newbie question...
I did a search on php.net but didn't find my answer.
what does \r\n do as opposed to just \n?
and yes, I know what \n does.
On 11/14/05, Richard Lynch [EMAIL PROTECTED] wrote:
On Fri, November 11, 2005 9:33 pm, Bruce Gilbert wrote:
$headers = From:
Bruce Gilbert wrote:
Sorry for the newbie question...
I did a search on php.net but didn't find my answer.
what does \r\n do as opposed to just \n?
and yes, I know what \n does.
Different platforms have different line-break conventions. \n is a line
feed, while \r is a carriage return
I don't suppose you meant like this : $headers = From:
$sender;(\r\n).
or is it without the ( )?
thanks
On 11/12/05, Marco Kaiser [EMAIL PROTECTED] wrote:
Hi,
try to add in your $headers linebreaks. (\r\n).
-- Marco
$headers = From: $sender;
$headers .=
Bruce Gilbert wrote:
I don't suppose you meant like this : $headers = From:
$sender;(\r\n).
or is it without the ( )?
I think you should read up on some basic PHP syntax (the manual is your
friend. He meant like this:
$headers = From: $sender\r\n;
$headers .= Reply-To:
Hi Bruce,
first, there are just \n in your last header assignment. I think you
should test it a bit mir,
Try to send mails without the optional header. If this not work ask here again.
-- Marco
$headers .= Mime-Version:1.0\n Content-Type: text/plain;
5 matches
Mail list logo