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)
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. -James F "Ross Fleming" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > You should be able to do it, I know I do: > > > [mail function] > ; For Win32 only. > SMTP= smtp.isp.com ; for Win32 only > > ; For Win32 only. > sendmail_from= [EMAIL PROTECTED] ; for Win32 only > > > However, I'm aware that this is an extremely pernickity thing, and that lots > of people have problems getting it to work > > -----Original Message----- > From: Matt Hillebrand [mailto:[EMAIL PROTECTED]] > Sent: 26 February 2002 23:27 > To: [EMAIL PROTECTED]; php-windows > Subject: RE: [PHP-WIN] mail() function EXTREMELY slow > > > Yeah, I know about the max time variable, but it would be unacceptable to > take over a minute or two to send a handful of emails! > > I read an article that said you could use your ISP's SMTP server for the > mail() function, but that didn't seem to work. > > > > Matt Hillebrand > Web Developer > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > -----Original Message----- > From: Ross Fleming [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 26, 2002 3:28 PM > To: Matt Hillebrand; php-windows > Subject: RE: [PHP-WIN] mail() function EXTREMELY slow > > > I hope you're not spamming... ;) > > In php.ini: > > max_execution_time=30 ; Maximum execution time of each script, in > seconds > > Change it to what you need. The speed is pretty much dependent on your SMTP > server though. > > Ross > > -----Original Message----- > From: Matt Hillebrand [mailto:[EMAIL PROTECTED]] > Sent: 26 February 2002 23:13 > To: php-windows > Subject: [PHP-WIN] mail() function EXTREMELY slow > > > I'm using the SMTP server that my company owns, but it takes forever just to > send one email message. Trying to send a batch of emails with PHP's mail() > function takes so long, that the script expires and I get an error message. > > I tried searching the archives of this list, but that search page seems to > be broken. > > Thanks! > > > Matt Hillebrand > [EMAIL PROTECTED] > > > > > -- > 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 > > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php