zendframework/zf2 — pull request #525 by shevron (2011-10-23 00:00:34+00:00)
Title: Allow DI instantiation of Zend\Mail & Zend\Mail\Transport\Smtp

This is not an attempt to rewrite Zend\Mail, but to make the minimal changes needed in order to allow easy instantiation of Zend\Mail and related transport class Zend\Mail\Transport\Smtp through DI.

In addition, I've fixed some of the broken Zend\Mail unit tests that expected wrong exception types (trivial fixes). Still not all unit tests pass but situation is better than before.