当前位置: 代码迷 >> 综合 >> Java Mail邮件SMTP协议返回信息 535 5.7.3 Authentication unsuccessful.
  详细解决方案

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

热度:93   发布时间:2024-01-04 13:59:03.0

当邮件使用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