$message= <<
EOD;
and loaded into $message.
$to="digico@123.com";
$mail ="hts@123.com";
$zhuti ="I love you"; // Subject of the letter
// $ mailheaders .="Content-Type=text/html; charset=gb2312";
// $mailheaders .="Content-disposition: inline";
// $mailheaders .="Reply-To:";
// $mailheaders .="Content-Transfer-Encoding: 7bit";
$mailheaders = "From: $mail";//Sender's address
// $mailheaders .= "To: $to";
$mailheaders .= "MIME-Version: 1.0";
$mailheaders .= "Content-type: text/html; charset=gb2312";
mail($to,$zhuti ,$message,$mailheaders);
OK !