cvs: peardoc /en/package/mail/mail-queue/mail-queue tutorial.xml
| From: | Lorenzo Alberton | Date: | Sat, 12 Jun 2004 20:54:56 +0000 |
| Subject: | cvs: peardoc /en/package/mail/mail-queue/mail-queue tutorial.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4390@lists.php.net to get a copy of this message | ||
quipo Sat Jun 12 16:54:56 2004 EDT
Modified files:
/peardoc/en/package/mail/mail-queue/mail-queue tutorial.xml
Log:
fix wrong wrapping (why the CDATA section is not honored?)
http://cvs.php.net/diff.php/peardoc/en/package/mail/mail-queue/mail-queue/tutorial.xml?r1=1.3&r2=1.4&ty=u
Index: peardoc/en/package/mail/mail-queue/mail-queue/tutorial.xml
diff -u peardoc/en/package/mail/mail-queue/mail-queue/tutorial.xml:1.3
peardoc/en/package/mail/mail-queue/mail-queue/tutorial.xml:1.4
--- peardoc/en/package/mail/mail-queue/mail-queue/tutorial.xml:1.3 Fri Mar 12 05:01:32 2004
+++ peardoc/en/package/mail/mail-queue/mail-queue/tutorial.xml Sat Jun 12 16:54:56 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="package.mail.mail-queue.mail-queue.tutorial">
<refnamediv>
<refname>Tutorial</refname>
@@ -238,16 +238,16 @@
<programlisting role="php">
<![CDATA[
<?php
-//set the internal buffer size according your
-//memory resources (the number indicates how
-//many emails can stay in the buffer at any
-//given time
+/* set the internal buffer size according your */
+/* memory resources (the number indicates how */
+/* many emails can stay in the buffer at any */
+/* given time */
$mail_queue->setBufferSize(20);
-//loop through the stored emails and send them
-while ($mail = $mail_queue->get()) {
- $result = $mail_queue->sendMail($mail);
+/* loop through the stored emails and send them */
+while ($mail = $mail_queue->get()) {
+ $result = $mail_queue->sendMail($mail);
}
?>
]]>