Ryan Wang 👍
Caused by: org.eclipse.angus.mail.util.MailConnectException: Couldn't connect to host, port: smtp.ejiabest.cn, 25; timeout -1
at org.eclipse.angus.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2243) ~[jakarta.mail-2.0.2.jar:na]
at org.eclipse.angus.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:729) ~[jakarta.mail-2.0.2.jar:na]
at jakarta.mail.Service.connect(Service.java:345) ~[jakarta.mail-2.0.2.jar:na]
at org.springframework.mail.javamail.JavaMailSenderImpl.connectTransport(JavaMailSenderImpl.java:480) ~[spring-context-support-6.1.3.jar:6.1.3]
at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:399) ~[spring-context-support-6.1.3.jar:6.1.3]
... 12 common frames omitted
Caused by: java.net.ConnectException: Connection timed out
at java.base/sun.nio.ch.Net.connect0(Native Method) ~[na:na]
at java.base/sun.nio.ch.Net.connect(Unknown Source) ~[na:na]
at java.base/sun.nio.ch.Net.connect(Unknown Source) ~[na:na]
at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source) ~[na:na]
at java.base/java.net.SocksSocketImpl.connect(Unknown Source) ~[na:na]
at java.base/java.net.Socket.connect(Unknown Source) ~[na:na]
at java.base/java.net.Socket.connect(Unknown Source) ~[na:na]
at org.eclipse.angus.mail.util.SocketFetcher.createSocket(SocketFetcher.java:360) ~[jakarta.mail-2.0.2.jar:na]
at org.eclipse.angus.mail.util.SocketFetcher.getSocket(SocketFetcher.java:235) ~[jakarta.mail-2.0.2.jar:na]
at org.eclipse.angus.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2193) ~[jakarta.mail-2.0.2.jar:na]
... 16 common frames omitted