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
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
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
]
- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Ben Sinclair [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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
: Wednesday, January 16, 2002 4:13 PM
Subject: Re: [PHP] Mail() Timeout
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
: Wednesday, January 16, 2002 4:15 PM
Subject: Re: [PHP] Mail() Timeout
I just noticed from phpinfo() that sendmail_path reads:
/usr/sbin/sendmail -t -i -O DeliveryMode
Did it really drop the =a or is it just a problem with phpinfo()?
--
PHP General Mailing List (http://www.php.net
5 matches
Mail list logo