Re: problem with php function mail() on fc4
From: Paul Howarth (paul_at_city-fan.org)
Date: 07/15/05
- Previous message: Mike McCarty: "Re: Forced FSCK on Bad Reboot"
- In reply to: q=AC=CB=B9=20=CB=D5?=: "problem with php function mail() on fc4"
- Next in thread: milver nisay: "RE: problem with php function mail() on fc4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 15 Jul 2005 16:18:31 +0100 To: For users of Fedora Core releases <fedora-list@redhat.com>
维斯 苏 wrote:
> This is the first time I use mail() in php to send email,but failed,my
> program is
> <?
> $message="abcdefghijklmnopqrstuvwxyz";
> $a=mail("afcn0@yahoo.com.cn <mailto:afcn0@yahoo.com.cn>", "没有主题",
> $message, "From: Mailer:PHP/");
> if ($a)
> echo "ok";
> else
> echo "fail";
> ?>
> on fc4 it show ok,but i didn't recieve any emails,
Look in the mail server's log files to see what happened to the mail.
If there is nothing in the mail server log file relating to this mail,
the mail may never have been sent - are you using SELinux?
> and on win xp sp2 i also failed it tellme "*Warning*: mail(): SMTP
> server response: 550 5.7.1 Unable to relay for afcn0@yahoo.com.cn in
> *d:\usr\www\html\aaa1.php* on line *4*
The SMTP server you are trying to use is configured not to relay mail
from your Windows XP machine.
Paul.
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Mike McCarty: "Re: Forced FSCK on Bad Reboot"
- In reply to: q=AC=CB=B9=20=CB=D5?=: "problem with php function mail() on fc4"
- Next in thread: milver nisay: "RE: problem with php function mail() on fc4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|