1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > 使用hutool-all进行邮件发送报错Could not connect to SMTP host: smtp.qq.com port: 465

使用hutool-all进行邮件发送报错Could not connect to SMTP host: smtp.qq.com port: 465

时间:2019-10-09 02:21:04

相关推荐

使用hutool-all进行邮件发送报错Could not connect to SMTP host: smtp.qq.com  port: 465

继承MailAccount类,在其中的getSmtpProps()方法中添加

props.put(“mail.smtp.ssl.protocols”, “TLSv1.2”);

参考文章:线上发送邮件问题记录(Could not connect to SMTP host:smtp.,port:465)_wendi➣的博客-CSDN博客_could not connect to smtp host: 10.236.26.33, port

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。