EWS 在 Outlook 日历中创建约会,但也在“已删除邮件”文件夹中创建约会
我正在使用 VB.Net 和 EWS 托管 API 在 Exchange 2010 中创建约会。当我调用“保存”方法时,也会在 Outlook 的“已删除邮件”文件夹中创建约会。为什么约会创建在“已删除邮件”文件夹中?如何避免在“已删除邮件”文件夹中创建的约会?谢谢。
我使用下面的代码在 Outlook 日历中保存约会:
约会.Save(SendInvitationsMode.SendToAllAndSaveCopy)
I am using VB.Net and EWS Managed API to create appointments in Exchange 2010. When i call the "Save" method, an appointment is also created in the "Deleted Items" folder in the Outlook. Why is it the appointment is created in the "Deleted Items" folder? How do i avoid the appointment created in the "Deleted Items" folder? Thanks.
I use below code to save an appointment in the Outlook Calendar:
appointment.Save(SendInvitationsMode.SendToAllAndSaveCopy)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想我已经找到原因了。 Outlook 中有一个选项“删除已更新的会议请求和响应”。
当我取消选中此选项时,创建的约会将不会出现在“已删除邮件”文件夹中。
我认为这也与Exchange的AutomateProcessing有关,我猜测EWS作为AutoUpdate的默认值。
I think I've found the cause of it. There is an option in Outlook "Delete meeting requests and responses that have been updated".
When I unchecked this option, the appointment created will not appear in the "Deleted Items" folder.
I think it is also related to the AutomateProcessing of the Exchange, I guess EWS as the default of AutoUpdate.