RE: [PHP] Mail slow

From: Date: Thu, 28 Jun 2001 16:19:39 +0000
Subject: RE: [PHP] Mail slow
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55508@lists.php.net to get a copy of this message
On 27-Jun-01 Tim Ward wrote: > I've finally got a mail client running on our web server and it works fine, > except in the time it takes to run the mail() function. I've put diagnostics > round the call and it seems to be taking 22 seconds to return. All I'm doing > is forwarding the results of an enquiry form as plain text. I'm sure I've > seen reference to this problem somewhere but can't remember (or find) where > it was. Can anyone out there help? Sounds like sendmail is timing-out on a dns lookup ... is sendmail running as a daemon ? try it from the shell df | /usr/sbin/sendmail auser@remote.com Regards, -- Don Read dread@texas.net -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it.

« previous php.general (#55508) next »