Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaMail Error: javax.mail.NoSuchProviderException: smtp

Anil Giri
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JavaMail API to send mail using Gmail Server.
The code runs fine from my Development environment, which is Eclipse using JRE 1.6 and JavaMail 1.4.3 and Tomcat 6.

But I build my code for using the compatibility option for Tomcat 5.5.
My production server has following specs.

Tomcat 5.5
JRE 1.4
JavaMail 1.4.3
Java Actication Framework 1.1.1

But there seems to be some issue with my JavaMail Setup. Though the mail.jar file and activation.jar file is in the Tomcat Lib.

Following is the debug log:

Any help would be appreciated.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic