This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes track whether a mail sent using javamail api has reached its destination 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 "track whether a mail sent using javamail api has reached its destination" Watch "track whether a mail sent using javamail api has reached its destination" New topic
Author

track whether a mail sent using javamail api has reached its destination

ketan hanchnalkar
Greenhorn

Joined: Jul 25, 2006
Posts: 7
hi guys,
is there a way to know whether a mail sent using java mail api has actually reached its destination. Like the read receipt thing in Microsoft Outlook.

Thanks in advance.
Regards
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

Sure you can do that. You just have to include the appropriate header in the message that you send with JavaMail.

Now, I don't remember what the header is or what its value should be. But you can find out for yourself. Use Outlook to send a message with "read receipt requested" (or whatever its term is) to some e-mail account outside its domain. Then look at the headers in the message (almost all mail clients have a way of doing that). You should recognize it right away.
 
GeeCON Prague 2014
 
subject: track whether a mail sent using javamail api has reached its destination