Re: More mail() questions.

From: Date: Tue, 26 Nov 2002 03:54:10 +0000
Subject: Re: More mail() questions.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-126038@lists.php.net to get a copy of this message
I am trying to get the message portion of the email to have line breaks, but whatever I do it displays on one line. This is what I have. $message = "1st Line\n"; $message .= "2nd Line\n"; $message .= "\n"; $message .= "3rd Line\n"; $message .= "\n"; $message .= "4th Line\n"; mail ("", $subject, $message, $headers); TIA
As far as I've encountered, you can simply do the following: <? $message = " This is the message I wish to send with linebreaks... all the way down here. "; mail ("", $subject, $message, $headers); ?> -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/

« previous php.general (#126038) next »