當郵件使用SMTP協議 身份認證時,如果出現
javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful.
則說明你的用戶名與你的密碼不正確導致驗證失敗!
SMTP_AUTH_Fail_Response Message
SMTP_AUTH_Fail_Response is defined as follows. This message, identified by the 535 status code, is defined in [RFC2554] section 4, and indicates that the authentication has terminated unsuccessfully because the user name or password is incorrect.
535 5.7.3 <human-readable-string><CR><LF>