I've had speed issues when using mail() on a win32 machine that has the
php.ini set towards an Exchange 5.5 server. It seems to take a while to open
the connection, verify, send it and then close the connection. I haven't
traced the problem though, and it's not much of an issue considering my
production code runs on linux with instant access to sendmail.

Although reverse DNS could very well be an issue in this case too...

-Dash

-----Original Message-----
From: Manuel Lemos [mailto:mlemos@;acm.org] 
Sent: Tuesday, November 12, 2002 12:57 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: Sending mail is so slooooooow


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?


-- 

Regards,
Manuel Lemos


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to