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
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:
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: