function sendEmail($address,$subject,$message)
{
$headers = "Reply-To: miloAds Team <admin@miloads.com>\r";
$headers .= "Return-Path: miloAds Team <admin@miloads.com>\r";
$headers .= "From: miloAds Team <admin@miloads.com>\r";
$headers .= "Organization: Milonas Media LLC\r";
$headers .= "MIME-Version: 1.0\r";
$headers .= "Content-type: text/plain; charset=iso-8859-1\r";
$headers .= "X-Priority: 3\r";
$headers .= "X-Mailer: PHP". phpversion() ."\r";
mail($address, $subject, $message, $headers);
}
发送电子邮件时,标题出现在正文中。