运行出现以下报错:
Couldn‘t connect to host, port: smtp.163.com, 25; timeout -1;
也要设置端口
spring.mail.port=25
Couldn't connect to host, port: smtp.163.com, 25; timeout -1;
原文地址:https://www.cnblogs.com/QW-lzm/p/8587494.html
时间: 2024-10-19 07:34:34
运行出现以下报错:
Couldn‘t connect to host, port: smtp.163.com, 25; timeout -1;
也要设置端口
spring.mail.port=25
Couldn't connect to host, port: smtp.163.com, 25; timeout -1;
原文地址:https://www.cnblogs.com/QW-lzm/p/8587494.html