发送投票电子邮件 [英] Send Voting Email

查看:91
本文介绍了发送投票电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Outlook API,可以通过在MailItem实例上设置VotingOpions属性来发送带有轮询的电子邮件.是否可以通过任何方式对Exchange Web服务执行相同操作?

Using the Outlook API it is possible to send emails with polls by setting the VotingOpions property on a MailItem instance. Is it possible to do the same with Exchange Web Services in any way?

推荐答案

Microsoft已经发布了有表决权的电子邮件的格式,但是Exchange Web Services没有为它们提供接口,因此您需要自己滚动.可以通过扩展属性访问数据:

Microsoft have published the format of voting emails, but Exchange Web Services does not provide an interface for them so you will need to roll your own. The data can be accessed via Extended Properties:

PidLidVerbStream:

PidLidVerbStream:

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

是投票选项,一个需要解构的复杂二进制结构.尽管如果您不想改变发送的选项,则可以使用Outlook创建消息,然后提取扩展属性并保存二进制数据,您可以使用该数据一次又一次地发送投票选项.

Is the voting options, a complicated binary structure that needs deconstructing. Although if you don't want to vary the options that get sent you can use Outlook to create the message, then extract the Extended Property and save the binary data you can use that to send the voting options again and again.

http://msdn.microsoft.com/en-us/library/cc839893(v = office.12).aspx 具有必要的链接

PidLidVerbResponse:

PidLidVerbResponse:

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

容易得多,只是从投票响应中选择的字符串,尽管该标准还要求在响应中加上主题前缀.

Much easier, just the string from the voting response that was selected, although the standard also requires a subject prefix with the response as well.

这篇关于发送投票电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆