ZF-1737: Zend_Mail_Transport example for multiple mails per connection

Issue Type: Docs: Problem Created: 2007-07-18T03:12:26.000+0000 Last Updated: 2008-03-21T16:25:50.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Nathan Wright (natew) Assignee: Simon Mundy (peptolab) Tags: - Zend_Mail

Related issues: - ZF-2155



The example here doesn't work…

Zend_Mail_Transport_Smtp does not even have connect() or disconnect() methods!

The transport itself automatically creates a connection when sending the first email -- it provides no mechanism for doing so beforehand.

Perhaps the example should include something like the following:

<pre class="highlight">
$conn = new Zend_Mail_Protocol_Smtp($host, $port);

$tr = new Zend_Mail_Transport_Smtp;


Posted by Darby Felton (darby) on 2007-07-19T15:59:12.000+0000

Assigning to [~matthew] to initiate issue review.

Posted by Matthew Weier O'Phinney (matthew) on 2007-11-16T14:56:03.000+0000

Scheduling for 1.1.0

Posted by Wil Sinclair (wil) on 2008-01-15T17:30:10.000+0000

Simon, can you take this one?

Posted by Simon Mundy (peptolab) on 2008-01-18T21:16:39.000+0000

Commited to trunk - could please review at your earliest convenience?

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.