note 110518 added to function.mail
| From: | jakopino at gmail dot com | Date: | Wed, 31 Oct 2012 21:19:46 +0000 |
| Subject: | note 110518 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-191618@lists.php.net to get a copy of this message | ||
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
----
Server IP: 69.147.83.199
Probable Submitter: 79.6.74.86
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- https://master.php.net/note/edit/110518
Del: integrated -- https://master.php.net/note/delete/110518/integrated
Del: useless -- https://master.php.net/note/delete/110518/useless
Del: bad code -- https://master.php.net/note/delete/110518/bad+code
Del: spam -- https://master.php.net/note/delete/110518/spam
Del: non-english -- https://master.php.net/note/delete/110518/non-english
Del: in docs -- https://master.php.net/note/delete/110518/in+docs
Del: other reasons-- https://master.php.net/note/delete/110518
Reject -- https://master.php.net/note/reject/110518
Search -- https://master.php.net/manage/user-notes.php