Working with Voting Option Using MapiMessage
Creating Voting Option Using MapiMessage
Microsoft Outlook allows users to create a poll when composing a new message. It allows them to include voting options such as Yes, No, Maybe, etc. Aspose.Email allows the same while creating a new Outlook message. The FollowUpOptions class provides the VotingButtons property that can be used to set or get the value of voting options. This article provides a detailed example of creating a MapiMessage with voting options for creating a poll.
Creating a Poll using MapiMessage
The following code snippet shows you how to create a poll, the FollowUpManager class can be used as shown in the following code snippet.
Reading Voting Options from a MapiMessage
The following code snippet shows you how to read voting options from a MapiMessage.
Reading Only Voting Buttons
The following code snippet shows you how to read only voting buttons.
Adding a voting button to an Existing Message
The following code snippet shows you how to add a voting button to an existing message.
Deleting a Voting button from a Message
The following code snippet shows you how to delete the vote button from a Message.
Read the Vote Results Information
The following code snippet shows you how to read the vote results information.
Sample Methods Used In Examples
The following code snippet shows you how to create the sample message used in examples.