Microsoft.Office.Interop.Outlook.Application events

Posted by Admin on 26-Jan-2010 16:02

Has anyone attempted and had success subscribing to an Outlook event? I've tried subscribing to NewMail and NewMailEx but neither seem to fire.

There are two methods: add_NewMail and add_NewMailEx that supposedly allow using the events however I'm not sure it's possible to use these in Progress.

Here's the c# example...

    outLookApp.NewMailEx += new   
      ApplicationEvents_11_NewMailExEventHandler(outLookApp_NewMailEx);
    ...
  }
  private static void outLookApp_NewMailEx(string EntryIDCollection)
  {
    // Do something interesting when a new e-mail arrives. 
  }

Any help would be appreciated.

Thanks,

JL

All Replies

This thread is closed