Re: SMTP newline fix.
| From: | Richard Heyes | Date: | Thu, 12 Dec 2002 18:00:12 +0000 |
| Subject: | Re: SMTP newline fix. | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-11584@lists.php.net to get a copy of this message | ||
> SMTP implementation (class Mail_smtp) seems to not be very
> RFC-compliant. That breaks some mail client implementations (in
> particular, Merak).
>
> The relevant part of RFC is here:
> http://www.faqs.org/rfcs/rfc822.html
>
> [snip]
>
> Notice the CRLF? In the current implementation 'CR' part is missing. Did
> I mis-read the RFC? Or did no-one notice the bug? (I find the latter
> hard to believe, that's why I am asking). The patch attached fixes the
> problem for me, and doesn't break anything else (I have been using it in
> production for a couple of weeks). Please, give feedback, and if I get
> positive feedback, I'll apply it.
Applied. Thanks!
--
Richard Heyes
V-webmail - http://www.v-webmail.co.uk