Saving a mail item in .msg format using Outlook VSTO addin, with attributes visible in file explorer columns

Craig Mills 1 Reputation point
2021-07-07T01:40:03.287+00:00

I am writing an addin to assist with filing email, and cannot figure out how to save the .msg file with properties/attributes that will show in windows file explorer columns for Sender Address, To Addresses, Categories, etc.
These columns can be selected in windows file explorer, by messages I export using the saveas function do not seem to have that information exported.
Is there a way that I can get these metadata fields to be populated when I save the .msg file?

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,455 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,871 questions
{count} votes