This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
hi how we can customize the content for read receipt in java, I set read receipt option but instead of default read receipt,i want my own content to be appear in read receipt because i have to do some backend processing after receiving read receipt
Customize the reply content? As Ulf already said, the read receipt will be sent by the reader's mail server. You have absolutely no control over the configuration of somebody else's mail server.
A common way to find out when somebody opens a message is to send an HTML message containing an image link. Since this link points to a URL on your server, you can have your server record the fact that the link was followed and then return an image.
However many people feel that it's not your business to know when they read your message. It feels like they are being spied on. That's why a lot of e-mail clients nowadays prevent images from being displayed in HTML-formatted messages. You might consider redesigning your application so that this requirement is replaced by something else. Like asking the recipient to reply, or click on a link, or something like that.
Joined: Apr 17, 2006
Is there is any alternate solution apart from read receipt? i want to get a mail as soon as receiver reads it.
Joined: Mar 22, 2005
Paul makes a good point about people not liking this kind of thing. I remember there being a third-party tool to prevent the receipts being sent from Outlook (which -in conjunction with Exchange server- supports receipts). But if the mail goes through other servers, then all bets of whether or not you might receive a notification are off anyway. So it's better not to use them at all, in order not to annoy people.
What kind of scenario is this where you need to know whether someone has read an email right away? [ August 04, 2006: Message edited by: Ulf Dittmer ]
Joined: Apr 17, 2006
basically it is virtual greeting card project where a card is send directly to his mailbox..i just want intimate the sender that his card has been viewed