Re: PHP 4.0 Bug #6537 Updated: mail() does not seem to handle SMTP multi-line responses

From: Date: Sat, 13 Jan 2001 19:15:51 +0000
Subject: Re: PHP 4.0 Bug #6537 Updated: mail() does not seem to handle SMTP multi-line responses
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-43986@lists.php.net to get a copy of this message
Hello Bug, On 10-Jan-01 03:26:38, you wrote: >ID: 6537 >Updated by: david >Reported By: mlemos@acm.org >Old-Status: Open >Status: Assigned >Bug Type: Mail related >Assigned To: david >Comments: >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? Hotmail: mail.hotmail.com . Manuel Lemos >Previous Comments: >--------------------------------------------------------------------------- >[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. >--------------------------------------------------------------------------- >Full Bug description available at: http://bugs.php.net/?id=6537 Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org -- E-mail: mlemos@acm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --

« previous php.dev (#43986) next »