Could not connect to SMTP host: SMTP_Server, port: 25;
843830Sep 23 2005 — edited May 20 2008Hi Friends,
Please suggest something regarding this:
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG: SMTPTransport trying to connect to host "SMTP.Server", port 25
nested exception is:
javax.mail.MessagingException: Could not connect to SMTP host: SMTP_Server, port: 25;
nested exception is:
java.net.SocketException: Unrecognized Windows Sockets error: 10106:
Here SMTP_Server= is the same IP which I am using in my outlook to send mails.
Would appreciate any response from your side.
Thanks,
Vishal