File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaMail - Delivery failure

 
Mrudula Madiraju
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i distinguish between Delivery Failure and Return Receipt(from Server not User) in JavaMail program?
 
eammon bannon
Ranch Hand
Posts: 140
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic