RE: [PHP] Mail slow

From: Date: Fri, 29 Jun 2001 20:13:14 +0000
Subject: RE: [PHP] Mail slow
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55602@lists.php.net to get a copy of this message
On 29-Jun-01 Tim Ward wrote: > That sounds like a unix answer, I should probably have said that my web > server is NT running Apache. > > Tim Ward > Senior Systems Engineer Yes it was, but the principle is the same. mail() can't go any faster than the MTA (Mail Transport Agent). Test the host defined on the 'SMTP' of your php.ini file; How long does it take? If it's slow, then PHP's mail() is not the problem. telnet mail.domain.com 25 Trying 209.272.0.212... Connected to mail.domain.com. Escape character is '^]'. 220 mail.domain.com Sendmail 8.71.1; Fri, 29 Jun 2001 15:03:32-0500 (CDT) MAIL FROM: dread@texas.net 250 2.1.0 dread@texas.net... Sender ok RCPT TO: nobody@yahoo.com 250 2.1.5 nobody@yahoo.com... Recipient ok DATA 354 Enter mail, end with "." on a line by itself foo bar baz . 250 2.0.0 f5TK3uM20182 Message accepted for delivery quit 221 2.0.0 mail.domain.com closing connection Connection closed by foreign host. 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 (#55602) next »