Re: w2k + iis5 + php4.3.2rc1 + smtp problems

From: Date: Fri, 16 May 2003 14:25:14 +0000
Subject: Re: w2k + iis5 + php4.3.2rc1 + smtp problems
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-19964@lists.php.net to get a copy of this message
Hello, On 05/15/2003 07:40 AM, Petar wrote:
Stable w2k server at sp3 running cgi php 4.3.2rc1 and phpbb forum software running a typical 5% cpu load and has about 100 ip addresses bound to its nic and is used for virtual web hosting. phpbb has an inbuilt smtp send routine which just does not seem to work at all on our server but the option to use the php smtp function does work - SOMETIMES. When it does NOT work it is always a script execution timeout that is the reported error. When it does work all is well. Specifying the smtp server address as an ip or fqdn makes no difference to fail/sucess ratio. Changing script execution timeout from default of 30 seconds to 60 seconds also makes no difference.
The problem is that your SMTP server is trying to send the messages immediately before accepting them and that may stall your script. Either you increase your script timeout or use a SMTP server that just accepts the messages and does not stall until the message is delivered. I do not have a suggestion for Windows. I would have if you were using Unix/Linux. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/

« previous php.windows (#19964) next »