Rafael Rocha
Rafael Rocha

Reputation: 183

Using Outlook VSTO to customize search bar

Using c# with VSTO Outlook project, is possible to set values in inbox search box?

I know how to search emails via c# code but i need to show the results in inbox window.

For example set in that box email from:”[email protected] via c#

enter image description here

Upvotes: 1

Views: 137

Answers (1)

Dmitry Streblechenko
Dmitry Streblechenko

Reputation: 66255

Sure - call Application.ActiveExplorer.Search("email from:""[email protected]""", 0)

Upvotes: 1

Related Questions