#1352 [Csd->Opn]: $crlf in Mail_Mime example should be "\n"

From: Date: Fri, 21 May 2004 08:03:57 +0000
Subject: #1352 [Csd->Opn]: $crlf in Mail_Mime example should be "\n"
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4057@lists.php.net to get a copy of this message
Edit report at: http://pear.php.net/bugs/bug.php?id=1352&edit=1 ID: 1352 User updated by: mhaertl at emiga dot de Reported By: mhaertl at emiga dot de -Status: Closed +Status: Open Package: Documentation Operating System: any PHP Version: Irrelevant New Comment: Sorry, but it's still not fixed in the online docs. Have a look: http://pear.php.net/manual/en/package.mail.mail-mime.example.php There's still $crlf="\n\r"; Previous Comments: ------------------------------------------------------------------------ [2004-05-20 10:50:27] danielc at analysisandsolutions dot com I went to go fix this and found that the change had already been made. Thanks for your report. ------------------------------------------------------------------------ [2004-05-06 05:52:19] mhaertl at emiga dot de Description: ------------ In the Mail_Mime Example you use $crlf = "\n\r"; The Documentation for Mail_Mime::Mail_Mime() says: 'Normaly, it is not necessary to set the $crlf parameter. But, if you want to send the generated MIME message using Mail then you have to set $crlf to "\n".' Since i used the example code i got a lot of trouble with users receiving illegible MIME mails. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=1352&edit=1

« previous php.pear.doc (#4057) next »