Re: [PHP] Mail() Timeout
Placing it in quotes made it show up correctly in phpinfo(), however it still sits there if the email address is bad. For example, a domain that doesn't resolve. -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Ben Sinclair" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: 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/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
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()? -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Ben Sinclair" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: 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 there when it can't > send the mail. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
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 there when it can't send the mail. -- Ben Sinclair [EMAIL PROTECTED] - 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, 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 > > [EMAIL PROTECTED] > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
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 > [EMAIL PROTECTED] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Mail() Timeout
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] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]