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

Reply via email to