Re: mail() function EXTREMELY slow
| From: | DL Neil | Date: | Wed, 06 Mar 2002 11:08:31 +0000 |
| Subject: | Re: mail() function EXTREMELY slow | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12481@lists.php.net to get a copy of this message | ||
James,
> I personally found that messages were slow on my machine (going to an
> external mail server) and I discovered that if you can use the
built-in IIS
> (Windows) SMTP mail server you'll have no more problems. The built-in
IIS
> SMTP server was easily 1000 times faster in my case. Of course, if
you
> don't have it installed, you may have to install and configure it, but
it's
> very simple. Start menu - settings - control panel - add/remove
programs -
> add windows components - Internet - default SMTP server - check the
box.
> (Basically)
What you say makes perfect sense, but my experience under NT (and as for
others) has been the exact opposite - that the IIS SMTP stub is more
trouble than it's worth. Obviously you're a better man than I, Gunga
Din!
Would you please share some more detail about your set up?
- anything notable about the h/w
- which vn of Windows and which IIS
- I assume you're web/PHP serving through IIS
- is the IIS on the same box as you are using as client/IE?
On the basis of your experience, I wonder if I should schedule some
'play time' on a Win2000/IIS/PHP box I've just put together (while I
still can/before it is moved into 'production')?
> Be sure you don't allow external access (preferably block all inbound
> connections at your firewall) or use an IP address restriction of
127.0.0.1
> to prevent relaying.
Imperative, not advice!
Please advise,
=dn