redis-manager icon indicating copy to clipboard operation
redis-manager copied to clipboard

配置SMTP告警邮箱时,日志一直提示25端口无法连接,可以在配置文件里加个配置smtp的端口吗

Open fengchao910730674 opened this issue 2 years ago • 1 comments

配置SMTP告警邮箱时,日志一直提示25端口无法连接,可以在配置文件里加个配置smtp的端口吗

fengchao910730674 avatar Nov 02 '21 09:11 fengchao910730674

2021-11-03 16:50:00.031 - ERROR [redis-notify-pool-thread-2] Alert task failed, group name = admin org.springframework.mail.MailSendException: Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.163.com, 25; timeout -1; nested exception is: java.net.ConnectException: Connection refused (Connection refused). Failed messages: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.163.com, 25; timeout -1;

fengchao910730674 avatar Nov 03 '21 09:11 fengchao910730674