javax.mail.NoSuchProviderException: smtp ...
843830Sep 2 2005 — edited Sep 5 2008First, 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 : )