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 java-samples.com by Unknown author, 1 year ago
Unknown SMTP host: smtp.gmail.com ; nested exception is: java.net.UnknownHostException: smtp.gmail.com
via Google Groups by Tony Murphy, 4 months ago
Could not connect to SMTP host: mail.x.com, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect
via Oracle Community by 843830, 7 months ago
Could not connect to SMTP host: mailserver.myhost.com, port: 25; nested exception is: java.net.SocketException: Socket closed
via Oracle Community by 843830, 7 months ago
Could not connect to SMTP host: mail.x.com, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect
via Stack Overflow by Unknown author, 2 years ago
Could not connect to SMTP host: smtp.bizmail.yahoo.com, port: 465
via Oracle Community by 843830, 7 months ago
IOException while sending message; nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain; charset=us-ascii
javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com ;

  nested exception is:

	java.net.UnknownHostException: smtp.gmail.com	at javax.mail.Transport.send0(Transport.java:218)	at javax.mail.Transport.send(Transport.java:80)	at undefined.SimpleSendEmail.main(SimpleSendEmail.java:45)