Re: mail () error
| From: | Thomas Seifert | Date: | Fri, 17 Jan 2003 21:02:37 +0000 |
| Subject: | Re: mail () error | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132041@lists.php.net to get a copy of this message | ||
The mail-server has to respond that it received the mail.
Maybe you've set the firewall only one-way open?
Thomas
On Fri, 17 Jan 2003 15:29:32 -0500 steve@briartek.com (Stephen Goehler) wrote:
> Thanks, the server was relaying, but it turned out to be the firewall that
> was rejecting the request.
>
> Now I have a new problem thought, my mail () command will send the mail (and
> I receive it) but it will just hang there and eventually return this:
>
> Fatal error: Maximum execution time of 30 seconds exceeded
>
> The email goes through, but it won't process any of the code after it. Is
> it waiting for a response from the mail server? Can I disable that?
>
> Steve
>
> "John W. Holmes" <holmes072000@charter.net> wrote in message
> news:004901c2be5a$a384f910$7c02a8c0@coconut...
> > > Anyone know what causes this error?
> > >
> > > Warning: mail ()[function.mail]: Failed to receive
> > >
> > > Can it not find the mail server?
> >
> > When I got this error it was because the server was rejecting the email,
> > saying it wouldn't relay the message. Maybe check your relay setting in
> > your SMTP server?
> >
> > ---John W. Holmes...
> >
> > PHP Architect - A monthly magazine for PHP Professionals. Get your copy
> > today. http://www.phparch.com/
> >
> >
>
>