Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fengchao910730674 opened this issue Nov 2, 2021 · 1 comment

Comments

@fengchao910730674
Copy link

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

@fengchao910730674
Copy link
Author

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant