0

Outlook 2010 设置:Exchange 帐户 #1(域 A) Exchange 帐户 #2(域 A) Exchange 帐户 #3(域 B)

Windows 8 企业版机器。我已登录域 A。我在所有 Exchange 帐户上都收到/发送电子邮件。每当我创建会议请求时,Exchange 帐户 #3 都不会读取自定义用户属性值。有空值或空白值。假设代码填充 this.FormRegionShowing 事件上的区域控件。这两个域相互联合。我难住了。

Textbox1.Text = (string)appointmentItem.ItemProperties[PropertyVariables.Property1].Value;
Textbox2.Text = (string)appointmentItem.ItemProperties[PropertyVariables.Property2].Value;
Checkbox1.Checked = (bool)appointmentItem.ItemProperties[PropertyVariables.Property3].Value;
4

1 回答 1

1

这是意料之中的 - 当会议邀请/更新通过 SMTP 发送时,它会转换为 iCal,并且所有 MAPI 特定属性都将被剥离。

您可以尝试使用 MeetingItem.PropertyAccessor 设置特殊的 UseTnef MAPI 属性(DASL 名称http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/8582000B),但您可以这样做仅在 Application.ItemSend 事件中(因为 MeetingItem 是由 Outlook 创建的,而不是您的代码)。

于 2013-04-15T05:01:59.563 回答