This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes JavaMail - Delivery failure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JavaMail - Delivery failure" Watch "JavaMail - Delivery failure" New topic

JavaMail - Delivery failure

Mrudula Madiraju

Joined: Mar 03, 2004
Posts: 12
How can i distinguish between Delivery Failure and Return Receipt(from Server not User) in JavaMail program?
eammon bannon
Ranch Hand

Joined: Mar 16, 2004
Posts: 140
Difficult. There is no one delivery failure flag defined in SMTP, so its up to the server implementation how they flag this (if they flag it at all.) You can set Flags on you JavaMail messages - you could try to uses them. But see RFC 1221 for a good exploration of why this is so hard.
[ April 05, 2004: Message edited by: eammon bannon ]
Don't get me started about those stupid light bulbs.
subject: JavaMail - Delivery failure
Similar Threads
How to identify received mail is failure delivery notice mail in javamail?
WA #1.....word association
Catching invalid email Id exception
how to get status mail using javamail.
how to get delivery status notification