Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to know automatically whether the mail is send successfully or not

Status
Not open for further replies.

carlos098

Programmer
Jun 15, 2006
2
0
0
US
Hi,

In my Web Service I am using Java Mail to send emails. The problem is sometimes the emails are send/delivered but sometimes the emails are not being send/delivered, even though the interface to sned emails is called and executed successfully. I checked the log and there are no errors either. It happens randomnly. Can someone suggest what might be the problem, where to look for. How can I take care of this issue. or is there a way to check if the email actually was delivered and received by the recipients successfully. I want to make sure the email is send and received successfully. Thanks
 
JavaMail is not an MTA - all it does is dump a mail into an MTA's queue - so if the Transport.send() method returns OK, then there is nothing more you can do.

You should check your MTA logs.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top