PHP主機租用 PHP發(fā)郵件的例程
發(fā)布日期 2011-03-17 16:46:26
if($send){
$hearer="From:$from\nReply-To:$from\nX-Mailer: PHP/".phpversion()."\nContent-Type:text/html";
$result=mail($to,$subject,$body,$hearer);
if($result)
echo "郵件已成功發(fā)送";
}
?>
AAA級信用 