Question

I've tried getEnabled and getVisible callbacks in Ribbon.xml file, but they are not called every time an email is opened. I've also tried subscribing to Outlook NewInspector event, but is executes only at the first time an email is opened. Is there any other method I could try?

Was it helpful?

Solution

Inspectors.NewInspector event fires every time an item is opened as long as you keep the object that fires the events (Inspectors) in a global/class variable to make sure it stays alive. Please show your code that does not work for you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top