admin管理员组

文章数量:1559389

使用springmvc
使用的是HtmlEmail类

mail.smtp.host=smtp.exmail.qq
mail.smtp.port=587
mail.smtp.from=*@
mail.smtp.username= @
mail.smtp.password=
**********
然后报错
Sending the email to the following server failed : smtp.exmail.qq:465

然后从网上找的解决办法都不管用.

然后在知乎上看到有网友写的
https://www.zhihu/question/23718214?sort=created


然后我就把我的代码中的ssl和端口号都注释掉,居然就好了…果然是个坑!!!


本文标签: 腾讯企业邮箱EmailSendingServer