Code Comments
Programming Forum and web based access to our favorite programming groups.> 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?
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.