note 68271 added to function.mail
| From: | sander at cartel dot nl | Date: | Thu, 20 Jul 2006 10:26:39 +0000 |
| Subject: | note 68271 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-114967@lists.php.net to get a copy of this message | ||
I found out that a ms server (ESMTP MAIL Service, Version: 5.0.2195.6713) also had the problem using
CRLF in the headers:
If messages are not received, try using a LF (\n) only. Some poor quality Unix mail transfer agents
replace LF by CRLF automatically (which leads to doubling CR if CRLF is used). This should be a last
resort, as it does not comply with RFC 2822.
The suggested fix works.
Sander
----
Server IP: 83.137.20.120
Probable Submitter: 80.126.64.243
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- http://master.php.net/note/edit/68271
Del: integrated -- http://master.php.net/note/delete/68271/integrated
Del: useless -- http://master.php.net/note/delete/68271/useless
Del: bad code -- http://master.php.net/note/delete/68271/bad+code
Del: spam -- http://master.php.net/note/delete/68271/spam
Del: non-english -- http://master.php.net/note/delete/68271/non-english
Del: in docs -- http://master.php.net/note/delete/68271/in+docs
Del: other reasons-- http://master.php.net/note/delete/68271
Reject -- http://master.php.net/note/reject/68271
Search -- http://master.php.net/manage/user-notes.php