看看这个!!!!!!!!
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());
?>