Doc #63416 [Opn]: WRONG STATEMENTS IN MAIL FUNCTION DOCS

From: Date: Fri, 02 Nov 2012 01:01:08 +0000
Subject: Doc #63416 [Opn]: WRONG STATEMENTS IN MAIL FUNCTION DOCS
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9043@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63416&edit=1 ID: 63416 User updated by: jakopino at gmail dot com Reported by: jakopino at gmail dot com Summary: WRONG STATEMENTS IN MAIL FUNCTION DOCS Status: Open Type: Documentation Problem Package: *Mail Related Operating System: Any PHP Version: 5.3.18 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2012-11-02 00:57:58] jakopino at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.mail#refsect1-function.mail-seealso --- PHP cannot change SMTP behavior. Newlines must be issued using the correct sequence, this sequence must be platform independent, that's why we have the PHP_EOL constant. It's well documented by a 7 year old thread ( https://bugs.php.net/bug.php?id=15841 ). -------------------------------------------------------------------------- The mail function docs page is full of examples, all of them are using the windows newline sequence, without mentioning the real problem. Please correct that page -------------------------------------------------------------------------- Dario Jakopec Macro Web Media PS Paralles Plesk Pannel 11 is using Qmail as default smtp server... ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63416&edit=1

« previous php.doc.bugs (#9043) next »