ApplicationEvents_11_Event.NewMail 事件

定义

当收件箱中收到一封或多封新电子邮件时发生。

public:
 event Microsoft::Office::Interop::Outlook::ApplicationEvents_11_NewMailEventHandler ^ NewMail;
event Microsoft.Office.Interop.Outlook.ApplicationEvents_11_NewMailEventHandler NewMail;
Event NewMail As ApplicationEvents_11_NewMailEventHandler 

事件类型

注解

NewMail 事件触发,当新邮件到达收件箱时之前客户端, 规则处理。 如果要处理到达收件箱中的项目,请考虑对收件箱中的项目集合使用 ItemAdd 事件。 该 ItemAdd 事件传递的引用添加到文件夹中的每一项。

NewMail 事件不会触发用户处于脱机模式时。

适用于