• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris


Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do i recieve an acknowledgement that a user has received ny message.

Any sample code would go down well!

Thanks in Advance,
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are we taking about email here? If so, are we also talking about SMTP? You can't get notification about success - read receipts are ultimately controlled by the receiving MUA or server. If they choose not to send any, then you won't get any. Failure notification is not guarenteed either. If you get a 550 error (mailbox unavailable) or if your server cannot resolve the domain you will get a failure message, and this message will contain a Message-ID header that corresponds to the message you sent. You can watch for that.

However, the SMTP standard does not specify any guarenteed way of publishing the success or failure of an email. As I've said, the conversation between two servers will give this sort of information, but there is no requirement for the result of that conversation to be passed back up a chain of SMTP servers.

We have an Other API forum where JavaMail gets discussed. I'm moving this there to see if anybody else can tell you more.
[ November 23, 2006: Message edited by: Paul Sturrock ]
    Bookmark Topic Watch Topic
  • New Topic