09 July 2007

PHP Sending mails with HTML formats

$mheaders = "MIME-Version: 1.0\r\n";
$mheaders .= "Content-type: text/html; charset=iso-8859-1\r\n";
$mheaders .= "From: info@site.com\r\n";
$mheaders .= "Bcc: info@site.com\r\n";
mail($to, $subject, $handle, $mheaders);

No comments:

Post a Comment