Re: Fwd: PEAR Mail

From: Date: Fri, 13 Jun 2003 08:51:55 +0000
Subject: Re: Fwd: PEAR Mail
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17383@lists.php.net to get a copy of this message
Hi, > mail headers were "incorrecly" tied together: you use a single "\n" > character where as you should insert "\r\n" between header fields A while ago, I posted a report on such a problem I had with Mail_Mime: http://marc.theaimsgroup.com/?l=pear-dev&m=104555325920726&w=2 > I tested all of the concrete Mail implementations (sendmail, smtp > and mail) with the change, and they all work correctly. I don't > have a qmail installation, but Postfix's sendmail wrapper worked > fine. About qmail, look what is said in a bug report: "Use of CRLF is known to break qmail systems where no conversion of line breaks occurs on the input data. In this case using CRLF causes all but the first extra header to appear in the message body (CRLF is interpreted as two line breaks)." cf http://bugs.php.net/bug.php?id=15841 -Nicolas -- Nicolas "Brush" HOIZEY Free PHP projects http://www.phpheaven.net Veille tous azimuts http://www.gasteroprod.com Clever Age http://www.clever-age.com

« previous php.pear.dev (#17383) next »