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

来源:互联网 发布:数据有效性校验身份证 编辑:程序博客网 时间:2024/06/06 14:13

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


原创粉丝点击