• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Unable to send email from tomcat

Posts: 10
  • 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: 6443
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • 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 :-)
Do not set lab on fire. Or this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic