Make SMTP auth reply code checks work properly.
Add some more exception message checks
Merge pull request #4011 from ndm2/stmp-auth-reponse-evaluation-fix

Make SMTP auth reply code checks work properly.