<DIV>This is the first time I use mail() in php to send email,but failed,my program is</DIV>
<DIV><?<BR>$message="abcdefghijklmnopqrstuvwxyz";</DIV>
<DIV>$a=mail("<A href="mailto:afcn0@yahoo.com.cn">afcn0@yahoo.com.cn</A>", "没有主题", $message, "From: Mailer:PHP/");<BR>if ($a)<BR>echo "ok";<BR>else<BR>echo "fail";</DIV>
<DIV>?> </DIV>
<DIV>on fc4 it show ok,but i didn't recieve any emails,<BR>and on win xp sp2 i also failed it tellme "<STRONG>Warning</STRONG>: mail(): SMTP server response: 550 5.7.1 Unable to relay for afcn0@yahoo.com.cn in <B>d:\usr\www\html\aaa1.php</B> on line <B>4</B><BR>fail "</DIV>
<DIV>tell me why,and how to use this function to send mail,btw i close all firewalls</DIV><p>
                <hr size=1>DO YOU YAHOO!?<br> 
<a href="http://cn.mail.yahoo.com/?id=77071" target=blank> 
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱</a>