This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
ketan hanchnalkar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic