com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; code example
Example: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1
com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout -1