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