Bug #6537 Updated: mail() does not seem to handle SMTP multi-line responses
| From: | mfischer@php.net | Date: | Sun, 02 Jun 2002 16:28:24 +0000 |
| Subject: | Bug #6537 Updated: mail() does not seem to handle SMTP multi-line responses | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9158@lists.php.net to get a copy of this message | ||
ID: 6537
Updated by: mfischer@php.net
Reported By: mlemos@acm.org
-Status: Assigned
+Status: Closed
Bug Type: Mail related
Operating System: Windows
PHP Version: 4.0 Latest CVS (04/09/2000)
Assigned To: david
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
It's supposed to be fixed quite some time ago.
Previous Comments:
------------------------------------------------------------------------
[2001-01-10 01:26:38] david@php.net
I have fixed this, and tested with manual input. Does anyone have a
handy SMTP server that sends multi-line responses so I can test for
real?
------------------------------------------------------------------------
[2000-09-04 16:19:00] mlemos@acm.org
There has been so many people complaining about not being able to
send messages with the mail() function on Windows that I decided to
investigate.
Apparently, it seems that it is not handling SMTP multi-line responses.
Multi-line responses may be returned or not depending on the vendor of
the SMTP
server. The way it works is by returning a - character right after the
response code instead of a space. When this is returned, it means that
this is
not the last response line. So, the SMTP client has to fetch the next
response line until it finds the last one that has the same response
code
followed by a space.
I don't use Windows, so I did not want to fix the problem because I
would
not be able to try the fix. Anyway, it seems that all the fixing that
is
needed lies within the Ack() function.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=6537&edit=1