Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Could not connect to SMTP host: SMTP_Server, port: 25;

843830Sep 23 2005 — edited May 20 2008
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2008
Added on Sep 23 2005
11 comments
2,361 views