ngbdf / redis-manager

Redis 一站式管理平台,支持集群的监控、安装、管理、告警以及基本的数据操作
Apache License 2.0
2.94k stars 713 forks source link

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

Open fengchao910730674 opened 2 years ago

fengchao910730674 commented 2 years ago

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

fengchao910730674 commented 2 years ago

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;