看看这个!!!!!!!!
http://cn2.php.net/manual/zh/function.mail.php注: You must use \r\n to separate headers, although some Unix mail transfer agents may work with just a single newline (\n). 例子 2. Sending mail with extra headers.<?php
mail("[email protected]", "the subject", $message,
"From: webmaster@{$_SERVER['SERVER_NAME']}\r\n" .
"Reply-To: webmaster@{$_SERVER['SERVER_NAME']}\r\n" .
"X-Mailer: PHP/" . phpversion());
?>
http://cn2.php.net/manual/zh/function.mail.php注: You must use \r\n to separate headers, although some Unix mail transfer agents may work with just a single newline (\n). 例子 2. Sending mail with extra headers.<?php
mail("[email protected]", "the subject", $message,
"From: webmaster@{$_SERVER['SERVER_NAME']}\r\n" .
"Reply-To: webmaster@{$_SERVER['SERVER_NAME']}\r\n" .
"X-Mailer: PHP/" . phpversion());
?>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货