• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Unable to send email from tomcat  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the mail.jar and activation.jar in the lib folder of the WEB-INF directory of my application. I have the bean Id configured as:


The emails are still not getting sent. What else do I need to do? Thanks.
 
Saloon Keeper
Posts: 5288
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start by reading the short section on debugging in the JavaMail FAQ: https://javaee.github.io/javamail/FAQ#debug

The first step would be to turn on JavaMail debug mode as described in the first entry in that section. It will produce a ton of useful output in the log files which may help point out the issue. Or at least give you something to post here :-)
 
Farmers know to never drive a tractor near a honey locust tree. But a tiny ad is okay:
Become a Java guru with IntelliJ IDEA
https://www.jetbrains.com/idea/
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!