SpringBoot发送邮件报错:Got bad greeting from SMTP host: smtp.exmail.qq.com, port: 465, response: [EOF]
错误
Got bad greeting from SMTP host: smtp.exmail.qq.com, port: 465, response: [EOF]
原配置:
spring:mail:default-encoding: UTF-8host: smtp.exmail.qq.compassword: passwordport: 465username: username@mail.com
修改后:
spring:mail:default-encoding: UTF-8host: smtp.exmail.qq.compassword: passwordport: 465username: username@mail.comproperties:mail:smtp:auth: truesocketFactory:class: javax.net.ssl.SSLSocketFactorystarttls:enable: true
SpringBoot发送邮件报错:Got bad greeting from SMTP host: smtp.exmail.qq.com, port: 465, response: [EOF]相关推荐
- 发邮件报Failed to send email: Could not connect to SMTP host: smtp.exmail.qq.com, port: 465, response:-1
我这里使用的是腾讯企业邮箱,原先设置的邮箱端口号是465,使用脚本自动发送邮件时,每次都报端口错误,经过,网上各种查找,将465换成了587,再次运行,即可成功:
- 写定时任务发送邮件报错(Could not connect to SMTP host:smtp.exmail.qq.com,port:465)
需求阐述 在写完定时任务发送邮件之后,调试的时候发现报错:Could not connect to SMTP host:smtp.exmail.qq.com,port:465.一开始我以为是在for循 ...
- 线上发送邮件问题记录(Could not connect to SMTP host:smtp.exmail.qq.com,port:465)
事件回顾到某天下班,然后听到手机消息,来自企业微信,是财务小姐姐向我发来了问候,问我为什么邮件突然就发不出去了. 我也愣住了,这个功能是去年做的了,一直没有什么问题,甚至另一个系统也是copy我的代码 ...
- JAVA服务器端发送邮件问题:Could not connect to SMTP host: smtp.qq.com, port: 465
前言 在开发过程中,发送邮件经过测试是没有问题,然后部署到服务器中(腾讯云服务器),发送邮件一直报Could not connect to SMTP host: smtp.qq.com, port: ...
- 使用hutool-all进行邮件发送报错Could not connect to SMTP host: smtp.qq.com, port: 465
继承MailAccount类,在其中的getSmtpProps()方法中添加 props.put("mail.smtp.ssl.protocols", "TLSv1.2& ...
- springboot启动报错:Unregistering JMX-exposed beans on shutdown
环境 1,maven 3.5.0 2,eclipse 4.7.1 3,spring boot 1.5.9.RELEASE springboot启动报错 按照spring 用户手册创建新的spring ...
- SpringBoot启动报错:Parameter 0 of method hmset in com.qcby.rbac.util.RedisUtils required a bean of type
SpringBoot启动报错,报错信息如下: 报错是由于A类中定义了含参数的构造函数,Spring自动构造和注入时未为该Bean传入参数,引起报错. 查了很多资料,最后发现,我是因为注释的时候没有把@ ...
- 【springboot】报错Resolved [org.springframework.http.converter.HttpMessageNotWritableException: No conve
[参考] https://www.cnblogs.com/sunupo/p/11905763.html [springboot控制台报错:] WARN 10028 - [nio-8181-exec-3 ...
- 启动Spring项目报错,Springboot启动报错 Disconnected from the target VM 解决过程
启动Spring项目报错,Springboot启动报错 Disconnected from the target VM 解决过程 大概率是缺少了一下依赖 <dependency><g ...
最新文章
- Python常用库使用笔记
- 递归 累加和累乘
- Docker中部署项目到容器
- Java之控制反转和依赖注入
- 如何节约数据中心空间
- 如何在 Entity Framework 中计算 时间差 ?
- mysql查询优化之一:mysql查询优化常用方式
- ApplicationContext接口不同应用场景的实现
- python分数类_利用标准库fractions模块让Python支持分数类型的方法详解
- 手机安全修改IMEI的方法
- ltspice滑动变阻器在哪_NB物理创新课堂|变阻器
- 谷歌Chrome浏览器就能远程控制安卓手机,电脑远程控制手机的快捷方法get!
- jQuery 模态框
- LTE-TDD资源调度(1)-QCI、GBR和Non-GBR
- 棋牌游戏算法——字牌系列总结
- 光盘都无法识别解决方法
- FusionCharts报表
- 立方车场系统显示电脑连不上服务器,立方停车场车辆出入智能管理系统.ppt
- 一、什么是计算机网络
- iphone隐藏底条_iphone隐藏底部小横条,无需越狱
热门文章
- Nginx配置有条件的301跳转的方法
- php源码+仿桌面,PHP仿飞翔下载站源码(电脑端+手机端)
- 【竞赛】视频质量评价竞赛经验记录-1(比赛介绍)
- jQuery——获取某个元素兄弟元素的相关方法
- 最近很火的在线文件预览txt、doc、ppt、pdf、excel、jpg、png、zip、tar.gz等各种文件及压缩文件在线解压和预览,包括前后端设计和源码,编写搜索引擎多关键词检索名称和内容(五)
- 关于OLED拼接屏参数,至少得懂这10个
- MoveIt!之ROS1Melodic版本发布(MoveItCpp教程)
- 边缘检测Sobel、laplacian、canny算子
- 倍福--AX5000驱动器的参数设置
- onBlur事件与onfocus事件(jquery)