This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
if delivery fails, you get an email back from the targeted server saying that your email could not be delivered...
can't you just check your incoming mails for the 'mail delivery failed' template text ?
JDBCSupport - An easy to use, light-weight JDBC framework -
Joined: Jul 06, 2009
Hi Sebastian Janisch,
what do you mean by 'mail delivery failed' template text ? you mean the subject 'failure notice' i received means ,anyone can send mail with subject 'failure notice' na?
Joined: Feb 23, 2009
i just sent an email into the nirvana to check ...
i was wrong about the failure notice, it is not the targeted server but the email server you send the mail from, which in my case was email@example.com and in your case makes things easierm since you just need to check for that sender and the pattern of the failure message which i believe is up to the email server and in my case looked like this
I came to know that DeliveryStatus class of com.sun.mail.dsn package(javamail 1.4) provide the option for tracking delivery notice status..
But how to use this class while receiving mails thorugh javamail API?
Joined: Mar 22, 2005
I came to know that DeliveryStatus class of com.sun.mail.dsn package(javamail 1.4) provide the option for tracking delivery notice status.. But how to use this class while receiving mails thorugh javamail API?