Thursday, April 16, 2009

How to send html formatted email from your php forms

$headers = "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: ".$FromName." <".$FromEmail.">";

mail($ToEmail, $Subject, $Message, $headers);

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
Web Design & Marketing - Click and get an instant quote on your project