javamail and acknowledge(read confirmation)
1 posts in topic
Flat View  Flat View

Posted By:   smith_clarc
Posted On:   Thursday, November 6, 2003 08:55 AM

is it possible to add a acknowledge in a mail whith javamail. I would like, like outlook, have a read confirmation of a mail.

Re: javamail and acknowledge(read confirmation)

Posted By:   Bernhard_Hirschmann  
Posted On:   Friday, November 7, 2003 08:12 AM

I want to do the same thing, but as far as I found out, this is a tricky one.

There is something to handle this, but that doesn't work, afaik. It is specified in RFC2298 and is called MDN (Message Disposition Notification).

To use it you add something in the mail header, like this:

msg.setHeader("Disposition-Notification-To", user@foo.bar);

Afaik, it depends on the mail client if a read confirmation is then returned. But I didn't ever get any read confirmations.

If you are successfull with that, please let me know.

Another strategy is, to use a "mail bug" in the email: a html tag like an image tag, that loads an image in the view of the email. You can add a requestparameter to the http request, which will be done for the display procedure of the image, and on serverside you know, that the email is opend by the user, when this requests comes in. But this may be not legal, due to privacy statements, I think. (Or am I wrong?)

If you somehow manage it to get a read confirmation, please let me know, cause I need it too.



About | Sitemap | Contact