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!

javax.mail.NoSuchProviderException: smtp ...

843830Sep 2 2005 — edited Sep 5 2008
First, i may need to apologize for starting a new thread on this topic. But then i think my situation is a bit different from others.

I'm currently working with a server that has IIS-SMTP, Tomcat, PostgreSQL. My own PC has Tomcat, PostgreSQL. So, I created a mailFunc.jsp on my pc which will send the mail request to the server's iis-smtp. Everything works fine for the jsp on my pc! But if i call the same jsp that resides on the server, I will get this javax.mail.NoSuchProviderException: smtp!!

This is a bit weird, i can access the SMTP server from my PC. But access the SMTP service from its local Tomcat will get me NoSuchProviderException!! I have tried setting the host to the server's IP or just '127.0.0.1'.

any help is appreciated : )
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2008
Added on Sep 2 2005
14 comments
2,019 views