Re: Sending mail is so slooooooow

From: Date: Wed, 13 Nov 2002 01:03:45 +0000
Subject: Re: Sending mail is so slooooooow
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-16910@lists.php.net to get a copy of this message
Hello, On 11/12/2002 08:23 PM, rich wrote:
Hmmm, I don't think so. I'd rather not give out addresses of course, but it's the same SMTP server I use for my own email (company mail server). The messages get sent out OK. But the process of connecting and sending each message is so slow that I have to run my process in four or five bursts, picking up each time where I left off. How would it be a reverse DNS issue?
If you try nslookup on the IP of the machine you are using and it does not resolve, that seems to be the problem. Regards, Manuel Lemos
"Manuel Lemos" <mlemos@acm.org> wrote in message news:3DD16B05.6050709@acm.org...
Hello, On 11/12/2002 05:50 PM, rich wrote:
PHP 4.2.3 on Windows. I'm doing a simple query and then emailing each
user
returned by the query within the loop: mail($to, $subject, $message, $headers); The problem is that it is so slow.....it times out after 60 or so
emails,
even though I have set_time_limit( 2000 ). Any way to speed this up?
Each
email must be unique, with query data embedded, so I can't just send one single email to all recipients.
You most likely have a reverse DNS record missing problem. What is the address of the machine that you are using PHP to send the messages?


« previous php.windows (#16910) next »