454 Authentication failed, please open smtp flag first!
来源:互联网 发布:python爬虫工程师 编辑:程序博客网 时间:2024/05/16 16:16
1、错误描述
454 Authentication failed, please open smtp flag first!Exception in thread "main" javax.mail.AuthenticationFailedExceptionat javax.mail.Service.connect(Service.java:267)at javax.mail.Service.connect(Service.java:137)at com.you.mail.model.SendMessage.sendMessage(SendMessage.java:70)at com.you.mail.model.SendMessage.main(SendMessage.java:89)
2、错误原因
今天,我写了一个发送邮件的小实例。刚开始,我用的是163邮箱进行测试,后来是用的qq邮箱测试;163邮箱是开通了SMTP服务,而qq邮箱没有开通,导致报错
3、解决办法
(1)打开QQ邮箱,开通SMTP服务;
(2)利用其它邮箱(已开通SMTP服务)来测试。
1 0
- 454 Authentication failed, please open smtp flag first!
- SMTP协议_454 Authentication failed, please open smtp flag first!
- java QQ 邮件 454 Authentication failed, please open smtp flag first!
- 454 Authentication failed, please open smtp flag first!用QQ邮箱测试报错
- java发送email错误(454 Authentication failed, please open smtp flag first!)
- 发送邮件程序报错454 Authentication failed以及POP3和SMTP简介
- smtp-server: 535 5.7.8 Error: authentication failed: generic failure
- SMTP Authentication [Tutorial]
- SMTP server rejected auth: 535 Error: authentication failed Gerrit 认证邮箱报错
- Password authentication failed, Please verify that the username and password are correct
- 密码正确,SSH无法登陆 Password authentication failed /Permission denied, please try again.
- Authentication failed (rejected by the remote node), please check the Erlang cookie
- Drupal Module - SMTP Authentication Support
- SecureCRT通过SSH服务登录ubuntu出错:Password authentication failed, Please verify that the username and passw
- Open System authentication
- LA5904 Please, go first
- Authentication failed!null
- Authentication failed!null
- 可视化的数据结构和算法
- listview item子view的自适应高度后不显示
- C++中四种强制类型转换
- (续)上次周赛两道题【kmp,bfs】
- 暑假读书
- 454 Authentication failed, please open smtp flag first!
- Hibernate学习之Transient、Persistent、Detached三种状态
- leetcode:LRU Cache
- NOIP2009 Hankson的趣味题
- PHP日志
- 【笔试】12、企业发放的奖金根据利润提成。
- 《算法导论》读书笔记
- Jump Game II
- 标准模板库(STL)使用入门(上)