cvs: peardoc /en/package/mail/mail-queue/mail-queue tutorial.xml

From: Date: Wed, 28 Sep 2005 20:33:02 +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-6936@lists.php.net to get a copy of this message
quipo Wed Sep 28 16:33:02 2005 EDT Modified files: /peardoc/en/package/mail/mail-queue/mail-queue tutorial.xml Log: Request #5547: add 'localhost' to $mail_options in documentation http://cvs.php.net/diff.php/peardoc/en/package/mail/mail-queue/mail-queue/tutorial.xml?r1=1.7&r2=1.8&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.7 peardoc/en/package/mail/mail-queue/mail-queue/tutorial.xml:1.8 --- peardoc/en/package/mail/mail-queue/mail-queue/tutorial.xml:1.7 Tue Jul 5 14:25:54 2005 +++ peardoc/en/package/mail/mail-queue/mail-queue/tutorial.xml Wed Sep 28 16:33:00 2005 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry id="package.mail.mail-queue.mail-queue.tutorial"> <refnamediv> <refname>Tutorial</refname> @@ -81,12 +81,13 @@ // here are the options for sending the messages themselves // these are the options needed for the Mail-Class, especially used for Mail::factory() -$mail_options['driver'] = 'smtp'; -$mail_options['host'] = 'your_server_smtp.com'; -$mail_options['port'] = 25; -$mail_options['auth'] = false; -$mail_options['username'] = ''; -$mail_options['password'] = ''; +$mail_options['driver'] = 'smtp'; +$mail_options['host'] = 'your_server_smtp.com'; +$mail_options['port'] = 25; +$mail_options['localhost'] = 'localhost'; //optional Mail_smtp parameter +$mail_options['auth'] = false; +$mail_options['username'] = ''; +$mail_options['password'] = ''; ?> ]]> @@ -226,8 +227,8 @@ $mail_queue->setBufferSize(20); -//set the queue size (i.e. the number of mails to send) -$limit = 50; +//set the queue size (i.e. the number of mails to send) +$limit = 50; $mail_queue->setOption($limit); // loop through the stored emails and send them

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