note 110518 deleted from function.mail by aharvey
| From: | aharvey@php.net | Date: | Thu, 01 Nov 2012 01:14:46 +0000 |
| Subject: | note 110518 deleted from function.mail by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-191621@lists.php.net to get a copy of this message | ||
Note Submitter: jakopino at gmail dot com
----
As the message below states, the second note in "additional_headers" is misleading and
incorrect.
We must use PHP_EOL to define new lines as there are different cases ( check: http://en.wikipedia.org/wiki/Newline ).
What will happen if we move code between platforms, use wrong examples that "only some mail
servers correct" or just change mail server on the same system?
Postfix to Qmail is a well-known case.
PHP_EOL (string)
The correct 'End Of Line' symbol for this platform. Available since PHP 4.3.10 and PHP
5.0.2