RE: [PHP] send mail in HTML format in Mail Function

From: Date: Mon, 02 Apr 2001 02:36:31 +0000
Subject: RE: [PHP] send mail in HTML format in Mail Function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-46544@lists.php.net to get a copy of this message
$recipient = "Recipient <ploo@ploo.com>" $headers .= "From: name <person@domain.com>\n"; $headers .= "X-Sender: <person@domain.com>\n"; $headers .= "X-Mailer: PHP\n"; $headers .= "X-Priority: 1\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1\n"; $message = "<font face=Arial size=2>This is HTML!!!<Br><Br></font><font face=Arial size=2 color=#ff0000>See!!!</font>"; $subject = "TEST"; mail($recipient, $subject, $message, $headers); -----Original Message----- From: Mark Lo (3) [mailto:mark@3dsources.com] Sent: Sunday, April 01, 2001 9:37 PM To: PHP Mailing List Subject: [PHP] send mail in HTML format in Mail Function Hi, I would like to know how to send a mail in HTML format in Mail Functions. Thank you Mark -- 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 (#46544) next »