Re: mail() additional header documentation
| From: | Jakub Vrana | Date: | Sat, 27 Nov 2004 09:34:06 +0000 |
| Subject: | Re: mail() additional header documentation | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969365265@lists.php.net to get a copy of this message | ||
Colin Brown wrote:
>> Note: You must use \r\n to separate headers, although some Unix
>> mail transfer agents may work with just a single newline (\n).
> In my experience this is wrong. In particular on hosts running Linux or
> BSD and Postfix (i.e. LOTS!!), using \r\n will cause mail headers to be
> displayed in the message body when received by clients running Outlook
> and Outlook Express on Windows.
Changed to "Note: You must use \r\n to separate headers, although some
Unix mail transfer agents replace \n by \r\n automatically (leads to
doubling \r if \r\n is used)."
Jakub Vrana