Search code examples
c#vstooutlook-addinadd-in

how to add button in outlook mail body right Click context menu?


I want to add button in outlook mail body right lick context menu in vsto C# add-in how it possible.

this button get selected text from mail body in read mode.

like this screenshot see screenshot

I find a question a person @Martin will do this but dose not provide any code example. In this question Question


Solution

  • Both the preview pane and Outlook inspectors use Word-light to display and edit messages. While full-blown Word lets you modify context menus from COM addins, you cannot do that when Word is used inside Outlook. That functionality is simply not exposed in the Outlook Object Model.