Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 C# 中创建新的电子邮件事件,它在加载 Outlook 期间与 Outlook 2010 中的新电子邮件消息类似。但我无法在 Outlook 中获得事件的名称。
您可以使用此代码
this.Application.NewMailEx += new Outlook.ApplicationEvents_11_NewMailExEventHandler(olApp_NewMail); private void olApp_NewMail(String itemCollection) { //write some code here }