$recipient = "Recipient <[EMAIL PROTECTED]>"
$headers .= "From: name <[EMAIL PROTECTED]>\n";
$headers .= "X-Sender: <[EMAIL PROTECTED]>\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:[EMAIL PROTECTED]]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to