• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Send email to end users with Voting option using Java Mail API

 
Aditi Tervankar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using Java Mail API to send emails to end users through java class file. I have requirement to add voting option with Approve and Reject option, so that end user will get these options in mail. Can anyone help how to get these options in mail using Java.
I heard about Java TNEF package to solve this but not sure how to use it. Pleease advice.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, so you send a user an email - which is after all just a chunk of text. You want:

so that end user will get these options in mail.


How do you expect to get the user choices back?

I see the following methods in use these days:

1. URL links with the choice parameters set. ie "http://somehost/survey/approve" or "http://somehost/survey/noway"

2. Embedded HTML form. (requires that the user accept HTML fomated email)

3. Instructions to do an email reply with "approve" or "noway" in the first line.

1 & 2 will of course require a servlet to extract the vote, 3 will require email processing.

Bill
 
Aditi Tervankar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your response, but I ddint get this.
I want to add voting option in mail. As shown below. Like we have when in Microsoft Outlook Options->Use Voting Button



Thanks.
Untitled.png
[Thumbnail for Untitled.png]
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Standard email has no such functionality - that's Outlook and Exchange-specific.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic