diff --git a/mip/develop/concept-email.md b/mip/develop/concept-email.md index 149d4a199..aa0c3d93c 100644 --- a/mip/develop/concept-email.md +++ b/mip/develop/concept-email.md @@ -12,9 +12,6 @@ ms.author: mbaldwin MIP SDK supports decryption and encryption for email messages. Both .msg files, generated by Outlook or Exchange, and .rpmsg files are supported by the SDK although via slightly different methods. -> [!NOTE] -> As of MIP SDK 1.17, .eml files are supported. Handling is similar to .msg for labeling/protection scenarios and to .rpmsg for inspection scenarios, depending on the container format. - Common use cases for this scenario are: - Decrypt mail and attachments for data loss prevention (DLP) inspection. @@ -55,6 +52,15 @@ The .msg file protection operations pseudocode may look like: - Construct `mip::FileHandler` that points to the file to be labeled. - Select a label and use the `mip::FileHandler`'s `SetLabel` method to apply the label. +## Labeling of EML Files + +As of MIP SDK 1.17, .eml files are supported. Handling is similar to .msg for labeling/protection scenarios and to .rpmsg for inspection scenarios, depending on the container format. When working with .eml files, you must set the *enable_eml_file_type* flag instead of *enable_msg_file_type*. If you've created a `FileEngineSettings` object called *engineSettings*, you'd set this property in .NET as follows: + +```csharp +engineSettings.CustomSettings = new List>(); +engineSettings.CustomSettings.Add(new KeyValuePair("enable_eml_file_type", "true")); +``` + Refer to [Quickstart: List labels](quick-file-list-labels-cpp.md) for information on how to list labels. ## Changing Default Attachment Handling Behaviors