[PHP] Mail() Timeout

2002-01-16 Thread Ben Sinclair
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]

Re: [PHP] Mail() Timeout

2002-01-16 Thread Rasmus Lerdorf
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

Re: [PHP] Mail() Timeout

2002-01-16 Thread Ben Sinclair
] - 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

Re: [PHP] Mail() Timeout

2002-01-16 Thread Ben Sinclair
: 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

Re: [PHP] Mail() Timeout

2002-01-16 Thread Ben Sinclair
: 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