Advertisement
Mathilde411

stacktrace

Mar 17th, 2020
516
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.91 KB | None | 0 0
  1. DEBUG: setDebug: JavaMail version 1.5.5
  2. DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
  3. DEBUG SMTP: need username and password for authentication
  4. DEBUG SMTP: useEhlo true, useAuth true
  5. DEBUG SMTP: trying to connect to host "mail.example.com", port 25, isSSL false
  6. Exception in thread "main" java.lang.RuntimeException: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: mail.craftrp.com, 25; timeout -1;
  7.  nested exception is:
  8.     java.net.ConnectException: Connection timed out: connect
  9.     at test.Test.main(Test.java:63)
  10. Caused by: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: mail.example.com, 25; timeout -1;
  11.   nested exception is:
  12.     java.net.ConnectException: Connection timed out: connect
  13.     at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2100)
  14.     at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:699)
  15.     at javax.mail.Service.connect(Service.java:388)
  16.     at javax.mail.Service.connect(Service.java:246)
  17.     at javax.mail.Service.connect(Service.java:195)
  18.     at javax.mail.Transport.send0(Transport.java:254)
  19.     at javax.mail.Transport.send(Transport.java:124)
  20.     at test.Test.main(Test.java:58)
  21. Caused by: java.net.ConnectException: Connection timed out: connect
  22.     at java.base/sun.nio.ch.Net.connect0(Native Method)
  23.     at java.base/sun.nio.ch.Net.connect(Net.java:493)
  24.     at java.base/sun.nio.ch.Net.connect(Net.java:482)
  25.     at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588)
  26.     at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:339)
  27.     at java.base/java.net.Socket.connect(Socket.java:603)
  28.     at java.base/java.net.Socket.connect(Socket.java:552)
  29.     at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:331)
  30.     at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238)
  31.     at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2066)
  32.     ... 7 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement