problem with php function mail() on fc4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is the first time I use mail() in php to send email,but failed,my program is
<?
$message="abcdefghijklmnopqrstuvwxyz";
$a=mail("afcn0@xxxxxxxxxxxx", "没有主题", $message, "From: Mailer:PHP/");
if ($a)
echo "ok";
else
echo "fail";
?>
on fc4 it show ok,but i didn't recieve any emails,
and on win xp sp2 i also failed it tellme "Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for afcn0@xxxxxxxxxxxx in d:\usr\www\html\aaa1.php on line 4
fail "
tell me why,and how to use this function to send mail,btw i close all firewalls


DO YOU YAHOO!?
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux