/** * Override to add the response to the log. * (non-PHPdoc) * @see Swift_Transport_AbstractSmtpTransport::_assertResponseCode() */ protected function _assertResponseCode($response, $wanted) { $this->responseLog[] = $response; parent::_assertResponseCode($response, $wanted); }