Closed ghost closed 12 years ago
http://php.net/manual/en/function.mail.php
"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."
It seems like "\r\n" really is the way to go when composing headers.
@mooseware, We tested this, and most people servers work with \n and not with \r\n.