Re: phpdoc /en/reference/mail/functions mail.xml

From: Date: Fri, 29 Apr 2005 01:06:30 +0000
Subject: Re: phpdoc /en/reference/mail/functions mail.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969368082@lists.php.net to get a copy of this message
> You must use <literal>\r\n</literal> to separate headers, although > - some Unix mail transfer agents may work with just a single newline > - (<literal>\n</literal>). > + some Unix mail transfer agents replace <literal>\n</literal> by > + <literal>\r\n</literal> automatically (leads to doubling > + <literal>\r</literal> if <literal>\r\n</literal> is used). The problem with this is \n is wrong, and \r\n is right. If you're a new user, and you read the above, what would you use? I'd most certainly use \n, which is exactly what we don't want, right?

« previous php.doc (#969368082) next »