Page 1 of 1

PHP Mailform with HTML Support

Posted: Thu Sep 11, 2003 7:09 pm
by tsm4781
I have been looking around trying to find a simple mailform that allows for HTML email generations. Does anyone have any suggestions on a good starter script that might support these features?

Posted: Thu Sep 11, 2003 7:36 pm
by Bizwala
php mail() can generate HTML

$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";

just include html in your email body.