【发布时间】:2018-03-02 18:14:58
【问题描述】:
我正在尝试在 Office 365 中创建 VSTO。理想情况下,NewMailEx 委托用于处理传入消息。但在 Office 365 中收到新电子邮件后,该事件并未被触发。
this.Application.NewMailEx += new Outlook.ApplicationEvents_11_NewMailExEventHandler(Application_NewMailEx);
【问题讨论】:
-
您当时是否打开了 Outlook(桌面)?
-
请阅读Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers? - 总结是这不是解决志愿者的理想方式,并且可能会适得其反。请不要将此添加到您的问题中。
-
没有尤金。它关闭了
-
就是这样!只有在 Outlook 运行时才会触发事件。
标签: c# vsto outlook-addin