<?php$to = "[email protected]";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "[email protected]";
$headers = "From: $from";
mail($to,$subject,$message,$headers);
echo "Mail Sent.";?>
警告:邮件()[function.mail]:SMTP服务器响应:530 SMTP认证是必需的。 在 ð:\ WWW的\ Book1 \ 1.php 上线 8
邮件发送。不知道具体要怎么搞  虚心请教