• Post Reply Bookmark Topic Watch Topic
  • New Topic

isMailSent()

 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm using a basic send mail code

i'd like to know how to assure that my mail was indeed sent: is it enough to have no exceptions thrown/caught?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i'd like to know how to assure that my mail was indeed sent: is it enough to have no exceptions thrown/caught?

Exceptions will let you know if the mail didn't make it to your SMTP server. You can add EventListeners to get a bit more detail about what is going on if you need it.
 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exceptions will let you know if the mail didn't make it to your SMTP server

i guess that's enough for me

ty for your reply
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!