Get your CodeRanch badge!*
The moose likes Other JSE/JEE APIs and the fly likes writing content for read receipt in java mail program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "writing content for read receipt in java mail program" Watch "writing content for read receipt in java mail program" New topic
Author

writing content for read receipt in java mail program

Rajshekhar Gandrakota
Greenhorn

Joined: Apr 17, 2006
Posts: 6
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

thanks and regards
G.Rajshekhar
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
I think that's a function of the mail server - have a look at the documentation of the one you're using. I don't think there's a Java standard for that.


Ping & DNS - updated with new look and Ping home screen widget
Rajshekhar Gandrakota
Greenhorn

Joined: Apr 17, 2006
Posts: 6
ok..if the configuration in mail server, Is there is any other way apart from read receipt where we intimate the sender that mail has been read and also is it possible to customise the reply content

G.Rajshekahr
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18135
    
    8

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.
Rajshekhar Gandrakota
Greenhorn

Joined: Apr 17, 2006
Posts: 6
Is there is any alternate solution apart from read receipt? i want to get a mail as soon as receiver reads it.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
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 ]
Rajshekhar Gandrakota
Greenhorn

Joined: Apr 17, 2006
Posts: 6
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: writing content for read receipt in java mail program
 
Similar Threads
reading a secure site (pls urgent)
Set read receipt in outlook
pg. 497
How to send a mail in Java with return Read Receipt
How can i get the read receipt