ZF-1737: Zend_Mail_Transport example for multiple mails per connection
Description
The example here doesn't work http://framework.zend.com/manual/en/…
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:
$conn = new Zend_Mail_Protocol_Smtp($host, $port);
$conn->connect();
$tr = new Zend_Mail_Transport_Smtp;
$tr->setConnection($conn);
Comments
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?