Re: Mail() Timeout
| From: | Ben Sinclair | Date: | Wed, 16 Jan 2002 22:13:10 +0000 |
| Subject: | Re: Mail() Timeout | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80846@lists.php.net to get a copy of this message | ||
I changed my sendmail line to: sendmail_path = /usr/sbin/sendmail -t -i -O
DeliveryMode=q
That should place it in the queue instead of trying to send it immediately,
right? It doesn't seem to work though... It still just sits there when it can't
send the mail.
--
Ben Sinclair
ben@yourwebwill.com
----- Original Message -----
From: "Rasmus Lerdorf" <rasmus@lerdorf.ca>
To: "Ben Sinclair" <ben@yourwebwill.com>
Cc: <php-general@lists.php.net>
Sent: Wednesday, January 16, 2002 3:45 PM
Subject: Re: [PHP] Mail() Timeout
> Fix your sendmail flags in your php.ini file to just queue up the mail.
>
> On Wed, 16 Jan 2002, Ben Sinclair wrote:
>
> > Is there a way to shorten the timeout for the mail() function? Currently it
> > will wait too long when it is unable to send mail, causing the browser to
> > appear to hang.
> >
> > --
> > Ben Sinclair
> > ben@yourwebwill.com
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net