cvs: peardoc /en/package/mail/mail-mime example.xml
| From: | Christian Weiske | Date: | Sat, 25 Nov 2006 22:43:01 +0000 |
| Subject: | cvs: peardoc /en/package/mail/mail-mime example.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8895@lists.php.net to get a copy of this message | ||
cweiske Sat Nov 25 22:43:01 2006 UTC
Modified files:
/peardoc/en/package/mail/mail-mime example.xml
Log:
Adding the third reminder to not reverse get() and headers()
for those people that absolutely are not able to read the
big fat warnings in the method documentation, as requested by
bug #5617
http://cvs.php.net/viewvc.cgi/peardoc/en/package/mail/mail-mime/example.xml?r1=1.2&r2=1.3&diff_format=u
Index: peardoc/en/package/mail/mail-mime/example.xml
diff -u peardoc/en/package/mail/mail-mime/example.xml:1.2
peardoc/en/package/mail/mail-mime/example.xml:1.3
--- peardoc/en/package/mail/mail-mime/example.xml:1.2 Fri May 21 14:08:53 2004
+++ peardoc/en/package/mail/mail-mime/example.xml Sat Nov 25 22:43:01 2006
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="package.mail.mail-mime.example">
<refnamediv>
<refname>Mail_Mime - Example</refname>
@@ -27,6 +27,7 @@
$mime->setHTMLBody($html);
$mime->addAttachment($file, 'text/plain');
+//do not ever try to call this lines in reverse order
$body = $mime->get();
$hdrs = $mime->headers($hdrs);