Java Mail邮件SMTP协议返回信息 535 5.7.3 Authentication unsuccessful.

当邮件使用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>
详情见SMAP协议SMAP


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章