Java使用hotmail的SMTP服务器转发邮件出错
来源:互联网 发布:网络结婚证制作软件 编辑:程序博客网 时间:2024/05/29 16:31
最近使用hotmail的SMTP在服务器上转发邮件,后台获得如下错误:
javax.mail.AuthenticationFailedException: 535 5.0.0 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)
at javax.mail.Service.connect(Service.java:317)
at javax.mail.Service.connect(Service.java:176)
at javax.mail.Service.connect(Service.java:196)
并且在hotmail邮箱收到一份微软的邮箱登录异常邮件:
Verify your accountWe detected something unusual about a recent sign-in for the Microsoft account ep*****@hotmail.com. For example, you might be signing in from a new location, device, or app.To help keep you safe, we've blocked access to your inbox, contacts list, and calendar for that sign-in. Please review your recent activity and we'll help you take corrective action. To regain access, you'll need to confirm that the recent activity was yours.Review recent activityThanks,The Microsoft account team解决方法是登录服务器,并访问hotmail邮箱,点击上述邮件中的"Review recent activity"按钮,获得并输入验证码即可。
0 0
- Java使用hotmail的SMTP服务器转发邮件出错
- 使用C#发送SMTP的hotmail
- 使用office365.com进行SMTP邮件转发
- java实现SMTP邮件服务器
- java实现SMTP邮件服务器
- python smtp邮件转发
- 使用需要验证用户的smtp服务器发送邮件
- C#使用163的SMTP服务器发送邮件
- 使用Telnet登录SMTP服务器发送邮件
- SMTP邮件服务器postfix配置与使用
- 使用JavaMail连接邮件发送服务器smtp
- Java中实现SMTP邮件服务器-用demo简单粗暴的来发一波邮件了
- Java中实现SMTP邮件服务器-用demo简单粗暴的来发一波邮件了
- 配置php的smtp邮件服务器
- IIS服务器的SMTP发送邮件
- 不需要smtp服务器的邮件发送
- 不需要smtp服务器的邮件发送
- 不需要smtp服务器的邮件发送
- Composer -- PHP依赖管理的新时代
- PAT乙级(Basic Level)真题 1011.个位数统计
- UVa 340 - Master-Mind Hints
- Android源代码级调试环境配置
- [hihocoder1036]Trie图
- Java使用hotmail的SMTP服务器转发邮件出错
- Struts2自定义拦截器
- 大数据零基础到精通各个阶段一整套的培训教学资料视频
- lua协程中法wrap和create方法的区别
- mybatis入门
- linux下安装php7+mysql5.7+nginx
- 使用defineProperty定义属性的构造函数在调试过程中打印的一些小细节
- 机器学习小组知识点23:F分布(F Distribution)-R语言代码
- Python练习题:求出某日期是该年的第几天