Couldn't connect to host, port: smtp.163.com, 25; timeout -1;

运行出现以下报错:

  Couldn‘t connect to host, port: smtp.163.com, 25; timeout -1;

 

也要设置端口
  spring.mail.port=25

 

文章来自:https://www.cnblogs.com/QW-lzm/p/8587494.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3