none
Outlook creating new mail event in C# RRS feed

  • Question

  • Hi,

    I want to handle an event when a user creates a new mail.

    Is there any way to do it in C#?

    Thanks in advance,

    Maxim

    Monday, September 29, 2014 2:59 PM

Answers

  • Hello Maxim,

    Yes, there is. The following events are fired in that case:

    NewInspector - is fired whenever a new inspector window is opened, either as a result of user action or through program code.

    Activate - is fired when an inspector becomes the active window, either as a result of user action or through program code.

    Also you may find the ItemAdd event helpful. It is fired when one or more items are added to the specified collection.

    See C# app automates Outlook (CSAutomateOutlook) sample code for more information.


    • Edited by Eugene Astafiev Monday, September 29, 2014 3:31 PM
    • Marked as answer by Maksidrom Thursday, October 2, 2014 10:25 AM
    Monday, September 29, 2014 3:19 PM