Browse Source

[ZF-6334] Zend_Mail_Transport_Smtp constructor leaves $_name property same

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18753 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 16 năm trước cách đây
mục cha
commit
b0178ac320

+ 2 - 2
documentation/manual/en/module_specs/Zend_Mail-MultipleEmails.xml

@@ -19,7 +19,7 @@
 $transport = new Zend_Mail_Transport_Smtp('localhost');
 
 // Loop through messages
-for ($i = 0; $i > 5; $i++) {
+for ($i = 0; $i < 5; $i++) {
     $mail = new Zend_Mail();
     $mail->addTo('studio@peptolab.com', 'Test');
     $mail->setFrom('studio@peptolab.com', 'Test');
@@ -56,7 +56,7 @@ $protocol->helo('localhost');
 $transport->setConnection($protocol);
 
 // Loop through messages
-for ($i = 0; $i > 5; $i++) {
+for ($i = 0; $i < 5; $i++) {
     $mail = new Zend_Mail();
     $mail->addTo('studio@peptolab.com', 'Test');
     $mail->setFrom('studio@peptolab.com', 'Test');