0
votes

how can I add custom button to Outlook send mail form window ?

actually how to achive new mail form window in Application object properties ?

I try NewInspector event with but the event parameter have self inspector but inspector does not have CommandBars object !!

please help thanks

2

2 Answers

0
votes

CommandBars were deprecated. You need to use the Fluent UI for creating a custom UI in Outlook. VSTO provides two main ways for customizing the UI in Outlook:

  1. Walkthrough: Create a custom tab by using Ribbon XML
  2. Walkthrough: Create a custom tab by using the Ribbon Designer

Note, you can design a custom UI using the designer and then export it into an XML markup. See How to: Export a ribbon from the Ribbon Designer to Ribbon XML for more information.

Read more about the Fluent UI (aka Ribbon UI) in the following series of articles:

0
votes

The only way to add a ribbon button in the current versions of Outlook is through the IRibbonExtensibility interface implemented by your COM addin.

VSTO makes it easier, but the underlying mechanism is still the same.