ZF-2075: Exception in destructor Zend_Mail_Transport_Smtp


A Zend_Mail_Protocol_Exception is thrown in class Smtp::__destruct() if you can't disconnect properly, but throwing an exception from a destructor causes a fatal error with the following message : "Fatal error: Exception thrown without a stack frame in Unknown on line 0"

Code throwing this error : abstract class Zend_Mail_Protocol_Abstract { [...] public function __destruct() { $this->_disconnect(); } [...] }


Assigned to Nico