Email voting

Using the Outlook API, you can send polling messages by setting the VotingOpions property to an instance of MailItem. Is it possible to do the same with Exchange web services?

+4
source share
1 answer

Microsoft has published a format for voice mail messages, but Exchange Web Services does not provide an interface for them, so you will need to minimize your own. Access to data can be obtained through advanced properties:

PidLidVerbStream:

new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Common, 0x00008520, MapiPropertyType.Binary); 

There are voting options, a complex binary structure that needs to be deconstructed. Although if you do not want to change the sending settings, you can use Outlook to create the message, then extract the advanced property and save the binary data that you can use to send the voting options again and again.

http://msdn.microsoft.com/en-us/library/cc839893(v=office.12).aspx has additional links

PidLidVerbResponse:

  new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Common, 0x00008524, MapiPropertyType.String); 

It is much simpler, only the line from the response to the vote that was selected, although the standard also requires a subject prefix with the answer.

+2
source

Source: https://habr.com/ru/post/1312415/


All Articles