Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by JaiK
, 2 years ago
Could not connect to SMTP host: xxx.com, port: 25, response: -1
via scriptscoop3.com by Unknown author, 1 year ago
via Coderanch by raja selva, 1 year ago
Could not connect to SMTP host: 10.138.142.213, port: 25; nested exception is: java.net.ConnectException: Connection timed out: connect
via Oracle Community by 843830, 1 year ago
Could not connect to S MTP host: ***************, port: 25, response: 554
via Stack Overflow by CorporateSlave
, 5 months ago
Could not connect to SMTP host: mail.value-exch.com, port: 25, response: -1
via knowcoding.com by Unknown author, 2 years ago
Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
javax.mail.MessagingException: Could not connect to SMTP host: xxx.com, port: 25, response: -1	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1960)	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:642)	at javax.mail.Service.connect(Service.java:317)	at javax.mail.Service.connect(Service.java:176)	at javax.mail.Service.connect(Service.java:125)	at javax.mail.Transport.send0(Transport.java:194)	at javax.mail.Transport.send(Transport.java:124)	at com.seleniumtests.test.SendFileEmail.trySendEmail(SendFileEmail.java:131)	at com.seleniumtests.test.Email.generateReport(Email.java:27)	at org.testng.TestNG.generateReports(TestNG.java:1094)	at org.testng.TestNG.run(TestNG.java:1053)	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)