Forums Register Login

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

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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]
+Pie Number of slices to send: Send
Standard email has no such functionality - that's Outlook and Exchange-specific.
You've gotta fight it! Don't give in! Read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2327 times.
Similar Threads
How to make Email template
Sending an Email with JavaMail
Mail API - "Do not Forward" permission setting
problem on sending mail to client
Mailing query
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:40:56.