Re: Slow mail()
| From: | Richard Lynch | Date: | Tue, 02 May 2006 08:52:20 +0000 |
| Subject: | Re: Slow mail() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235247@lists.php.net to get a copy of this message | ||
On Tue, May 2, 2006 3:24 am, Tony Aldrich wrote:
> What are the reasons of slow mail() (about 30-40 seconds)?
Well, first it has to fire up sendmail...
Then sendmail has to accept the email for delivery.
But that should not be 30 seconds...
30 seconds sounds like a network domain-name lookup timeout issue.
Perhaps your sendmail.cnf is not quite right...
What happens if you login as the PHP user and send email from the
command line?
--
Like Music?
http://l-i-e.com/artists.htm