Re: Email in HTML format

From: Date: Tue, 25 Jul 2000 08:51:52 +0000
Subject: Re: Email in HTML format
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-7999@lists.php.net to get a copy of this message
If I understand this correct, you want to be able to send HTML formatted emails, correct? To do so, use code similar to this (which I grabbed off of PHP.net): mail("<user@address.com>", $Subject, $message, "Content-Type: text/html; charset=iso-8859-1"); The important part, of course, being the "Content-Type: text/html; charset=iso-8859-1" in the additional_headers field. Check out http://www.php.net/manual/function.mail.php for more information. (Read the comments left by other users.) Hope this helps, - Ben Schumacher At 12:42 PM 7/25/00 +0100, James Sanderson wrote:
Hi, I searched the archive and can't find something this simple. How do I send email from form input in HTML format using PHP? Add something to the header? Any help appreciated! James -- 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 (#7999) next »