java mail: javax.mail.AuthenticationFailedException: 535 authentication failed
2017-08-07 09:47
393 查看
javax.mail.AuthenticationFailedException: 535 Error: authentication failed at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:823) at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:673)
我使用的是163邮箱,在这里是验证没有通过,但是大家很是疑惑,明明我使用的就是邮箱的登陆密码,为什么还是会出现这样的问题呢?
经过我的测试,问题就是出在登陆密码上,如果使用163邮箱进行发送邮件的测试,那么就要使用163邮箱的授权密码,而不应该使用登陆密码。
相关文章推荐
- javax.mail.AuthenticationFailedException: 535 Error: authentication failed
- javax.mail.AuthenticationFailedException: 535 authentication failed
- javax.mail.AuthenticationFailedException: 535 Error: authentication failed
- 转载邮件失败!javax.mail.AuthenticationFailedException: 535 Error: authentication
- javax.mail.AuthenticationFailedException: 535 Error: authentication failed
- javax.mail.AuthenticationFailedException: 535 Error: authentication failed
- java mail SMTP 发送验证代码 javax.mail.AuthenticationFailedException
- javax.mail.AuthenticationFailedException: 535 Error: authentication failed的解决办法
- 邮件失败!javax.mail.AuthenticationFailedException: 535 Error: authentication
- javax.mail.AuthenticationFailedException: 530 Error: A secure connection is requiered
- Spring发送邮件_javax.mail.AuthenticationFailedException异常已解决
- javax.mail.AuthenticationFailedException
- javax.mail.AuthenticationFailedException: 530
- javax.mail.AuthenticationFailedException
- javax.mail.AuthenticationFailedException:
- javax.mail.AuthenticationFailedException
- javax.mail.AuthenticationFailedException: failed to connect 异常
- javax.mail.AhenticationFailedException: 535 Err / A secure connection is requiered(java发邮件)
- 学习笔记——mail发送javax.mail.AuthenticationFailedException: failed to connect at javax.mail.Service.connect(Service.java:322) at javax.mail.Service.connect(Service.java:172) at javax.mail.Service.connect
- javax.mail.AuthenticationFailedException异常