PHP 4.0 Bug #4756: Mail Function Times Out. Warning Failed to Receive
| From: | dmullen at vis dot net | Date: | Thu, 01 Jun 2000 13:06:49 +0000 |
| Subject: | PHP 4.0 Bug #4756: Mail Function Times Out. Warning Failed to Receive | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19962@lists.php.net to get a copy of this message | ||
From: dmullen@vis.net
Operating system: Windows 2000 server
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Misbehaving function
Bug description: Mail Function Times Out. Warning Failed to Receive
I loaded PHP4 per the instructions and it does indeed
operate. However when I try and use the mail() function
it times out (after a few minutes) "Warning failed to receive. After multiple tries with
different settings in the php.ini file I gave up and loaded PHP3 (3.0.16) and it
works! I downloaded the sources (3 & 4) and went through sendmail.c for win32 and noticed a
difference in the SendText(..) function there. Version 3 had \r\n when it
was sending HELO, MAIL FROM, RCPT TO, and DATA commands to the SMTP server. Version 4 did not, it
only had \n . I'm not sure if this is the problem but, Version 4 was making a connection to the
mail server but it appeared not to be communicating properly.