note 95422 deleted from function.mail by cmb
| From: | cmb@php.net | Date: | Sun, 22 Sep 2019 08:10:36 +0000 |
| Subject: | note 95422 deleted from function.mail by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-212326@lists.php.net to get a copy of this message | ||
Note Submitter: rch+php at online dot lt
----
RFC-2822 is quite explicit, that "Though some message systems locally store messages in this
format (which eliminates the need for translation between formats) and others use formats that
differ from the one specified in this standard, local storage is outside of the scope of this
standard."
And it is not just "some", but most Unix mailers choke when you try pipe CRLF instead of
Unix line endings to "sendmail" command. PHP is using line endings as is, so you have
better chances for success if you use Unix file format or line endings.