RE: [PHP] mail() question

From: Date: Tue, 20 Mar 2001 19:42:37 +0000
Subject: RE: [PHP] mail() question
Groups: php.general 
Request: Send a blank email to php-general+get-44813@lists.php.net to get a copy of this message
I don't think email messages care about html breaks "<BR>"..(unless it's HTML email or something) This is what I always use.. $message = "$Info \n$Phone \n$Email"; You can use the '\n' to also make your HTML sources more readable. -----Original Message----- From: Clayton Dukes [mailto:cdukes@cdukes.com] Sent: Tuesday, March 20, 2001 2:37 PM To: Wade DeWerff; php-general@lists.php.net Subject: Re: [PHP] mail() question $message .= $Info; $message .="<br>"; $message .=$Phone; $message .="<br>"; $message .=$Email; This should append everything, but I could be wrong, I'm no Guru :-) Clayton Dukes --------------------------------------------------------------------- Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net ----- Original Message ----- From: "Wade DeWerff" <wdewerff@kc.rr.com> To: <php-general@lists.php.net> Sent: Tuesday, March 20, 2001 2:36 PM Subject: [PHP] mail() question is there a way to do this in a mail() ? I need to add the $Phone and $Email variables too the $message, but I need to format it so that it is on a new line in the email....I tried using <br> and /n, but it formats as text not code function. $message = $Info ."<br>". $Phone ."<br>". $Email; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#44813) next »