Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • 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

JavaMail won't send mail

Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , I am trying to send mail through Javamail, using NetBeans IDE
Every thing seems to work fine, the data which I have entered saves into he file, but the email won't send.
I have added the activation.jar and mail.jar in the libraries folder

index.jsp (Servlet) (java class) (java class) (java class)


[Thumbnail for Capture.PNG]
Posts: 25594
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a lot of code there, but not much about the problem. Are you getting exceptions thrown? If so, what does the stack trace look like. Are you sure your code is connecting to your chosen SMTP server? You turned on SMTP debugging, so what output are you getting from that?
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic