<?
$to = ""; //修改成您要接收的邮件地址
$subject = "ZDNet Developer article"; //邮件主题
$msg = "I completely understand SMTP servers now!"; //邮件内容
$headers = "From: sendmail@域名名\r\nReply-To: ";
//headers 中的sendmail@域名是发件人的信箱地址,根据自己的实际情况可以进行修改.
mail("$to", "$subject", "$msg", "$headers");
echo "finished!";
?>
以上是一个用php发邮件的例子,您可以根据您的实际情况进行相应调整.