VSTO Outlook: Customize email inspector header without using form regions

R R 6 Reputation points
2022-10-19T13:55:25.863+00:00

When you open an email by doing double click on it, I would like to know is the top panel of the email (header - indicate in the screenshot with a blue rectangle -) can be customized by adding text or other controls. Also in the context menu that appears when you click on the three dots button, I would like to know if I can add some options there. If that possible. Below I attach a screenshot and I indicate there the places where I would like to place these things (see blue arrows).

Also I would like to do the same in the preview area where the mail is shown when you select it from the messages list.

251978-mail-header.png

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,914 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Victor Ivanidze 101 Reputation points
    2022-10-19T15:45:06.263+00:00

    No you cannot. Use a form region.


  2. Eugene Astafiev 891 Reputation points
    2022-10-19T19:16:46.577+00:00

    The Outlook extensibility model doesn't provide anything for customizing these bits. There is no trivial way to get the job done. The best what you could do is to develop a form region (Replacement or Replace-All) which can substitute the whole inspector UI, so you could re-build it from scratch. Read more about Outlook form regions in the Walkthrough: Design an Outlook form region article.

    Also you may consider putting a form region with your custom information at the top of the window, but right below this pane. See Advanced Outlook view and form regions from Add-in Express.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.