• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

JavaMail Error: javax.mail.NoSuchProviderException: smtp

Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic