Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access sensitivity label (MIP) on .msg file #324

Open
mscc-sascha opened this issue Jul 7, 2021 · 0 comments
Open

Access sensitivity label (MIP) on .msg file #324

mscc-sascha opened this issue Jul 7, 2021 · 0 comments

Comments

@mscc-sascha
Copy link

Hi!

I'm currently developing an Add-In for Outlook with using NetOffice. The Add-In sends the content of a composed E-Mail to an external web service. This should be prevented whenever there are certain labels (MIP - Microsoft Information Protection) assigned (e.g. highly confidential).

In Word, Excel and PowerPoint I can read the MIP-Label by accessing CustomDocumentProperties (NetOffice.WordAPI.Document.CustomDocumentProperties). For Outlook (MailItem) ther are no such properties available, neither in any other property I can find the information.

Using the MIP-SDK is not an option because of the overhead of configuration (App Registration).

Does anyone know how to access the MIP-Label on a MailItem (or NetOffice.OutlookApi.Inspector)?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants