ZF-3876: getMessage() should be getMessages() in Zend/Mail/Protocol/Smtp.php


In lib/Zend/Mail/Protocol/Smtp.php there appears to be a typo: in the helo() function when the client hostname fails to validate, the exception string fails to be built because the method to get the error messages is incorrect (missing an "s"). \ \

should read


Solved in SVN r11196. The getMessage() is not found, but getMessages() function exists in Zend_Validate that was included by Zend/Mail/Protocol/Abstract.php.

Abstract.php is parent of Smtp.php.