svn: /pear/peardoc/trunk/en/package/mail/mail-queue/mail-queue/ tutorial.xml
| From: | Ken Guest | Date: | Sat, 17 Apr 2010 20:18:20 +0000 |
| Subject: | svn: /pear/peardoc/trunk/en/package/mail/mail-queue/mail-queue/ tutorial.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11933@lists.php.net to get a copy of this message | ||
kguest Sat, 17 Apr 2010 20:18:20 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=298128
Log:
include package versions re Mail & Net_SMTP packages for completeness
Changed paths:
U pear/peardoc/trunk/en/package/mail/mail-queue/mail-queue/tutorial.xml
Modified: pear/peardoc/trunk/en/package/mail/mail-queue/mail-queue/tutorial.xml
===================================================================
--- pear/peardoc/trunk/en/package/mail/mail-queue/mail-queue/tutorial.xml 2010-04-17 20:15:36 UTC
(rev 298127)
+++ pear/peardoc/trunk/en/package/mail/mail-queue/mail-queue/tutorial.xml 2010-04-17 20:18:20 UTC
(rev 298128)
@@ -259,7 +259,7 @@
<para>
The callback function is called before the relevant entry is deleted from the mail_queue table in
the database so if necessary you could add extra fields to it for inserting into your log/report
table. The function should accept only one parameter - an associative array of values;
'id', 'queued_as' and 'greeting'.</para>
<para>
-You'll need to use recent releases of the <link
linkend="package.mail.mail"><classname>PEAR::Mail</classname></link>
and <link
linkend="package.networking.net-smtp"><classname>PEAR::Net_SMTP</classname></link>
packages to be able to retrieve the esmtp id and greeting details if you need them for your reports.
Also, if you want to decode the body of the email and store that for your report you'll need to
install the <link
linkend="package.mail.mail-mimedecode"><classname>PEAR::Mail_mimeDecode</classname></link>
package.</para>
+You'll need to use recent releases of the <link
linkend="package.mail.mail"><classname>PEAR::Mail</classname></link>
(version 1.2.0b3 or higher) and <link
linkend="package.networking.net-smtp"><classname>PEAR::Net_SMTP</classname></link>
(version 1.3.3 or higher) packages to be able to retrieve the esmtp id and greeting details if you
need them for your reports. Also, if you want to decode the body of the email and store that for
your report you'll need to install the <link
linkend="package.mail.mail-mimedecode"><classname>PEAR::Mail_mimeDecode</classname></link>
package.</para>
<para>
Provide the callback function like so:</para>
<programlisting role="php">