Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DEBUG: setDebug: JavaMail version 1.5.5
- DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
- DEBUG SMTP: need username and password for authentication
- DEBUG SMTP: useEhlo true, useAuth true
- DEBUG SMTP: trying to connect to host "mail.example.com", port 25, isSSL false
- Exception in thread "main" java.lang.RuntimeException: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: mail.craftrp.com, 25; timeout -1;
- nested exception is:
- java.net.ConnectException: Connection timed out: connect
- at test.Test.main(Test.java:63)
- Caused by: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: mail.example.com, 25; timeout -1;
- nested exception is:
- java.net.ConnectException: Connection timed out: connect
- at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2100)
- at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:699)
- at javax.mail.Service.connect(Service.java:388)
- at javax.mail.Service.connect(Service.java:246)
- at javax.mail.Service.connect(Service.java:195)
- at javax.mail.Transport.send0(Transport.java:254)
- at javax.mail.Transport.send(Transport.java:124)
- at test.Test.main(Test.java:58)
- Caused by: java.net.ConnectException: Connection timed out: connect
- at java.base/sun.nio.ch.Net.connect0(Native Method)
- at java.base/sun.nio.ch.Net.connect(Net.java:493)
- at java.base/sun.nio.ch.Net.connect(Net.java:482)
- at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588)
- at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:339)
- at java.base/java.net.Socket.connect(Socket.java:603)
- at java.base/java.net.Socket.connect(Socket.java:552)
- at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:331)
- at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238)
- at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2066)
- ... 7 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement