ZF-1737: Zend_Mail_Transport example for multiple mails per connection


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:

$conn = new Zend_Mail_Protocol_Smtp($host, $port);

$tr = new Zend_Mail_Transport_Smtp;


Assigning to [~matthew] to initiate issue review.

Scheduling for 1.1.0

Simon, can you take this one?

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