Skip to content

HTML content of the email message is being removed from compound file stream after applying sensitivity label using MIP SDK in .net core #9

@satishmarisetti123

Description

@satishmarisetti123

we are using MIP SDK to label email messages in .Net core service. emails sent with only plain text are working as expected, Issue is only with emails with html content. .Below are the steps followed to apply sensitivity label and send the email via send grid API.
i. create email object(from Msg kit nuget package) with recipients, subject, body of the email message.
ii. A compound file object is created from email object and will be written to memory stream.
iii. sensitivity label is applied on memory stream.
iv. extract recipient, subject, body and attachment info from stream(after applying sensitivity label)
v. info obtained from step iv will be passed to send grid client to send email.
vi. everything is working fine when body content is plain text when HTML content is included in the email object (from setp i)
that html info is removed after applying sensitivity label there by email delivered is displaying attachment with rpmsg and standard text to download some special app to view the message.but users are never able to see the message.
vii. compound file created in step ii has html content with tag name "__substg1.10130102" but after applying label this content is not present in compound file to read and send to send grid API.
viii. If this is could be due to a policy associated with sensitivity label to define how to handle HTML content.please share the info how to trouble shoot it.

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

HTML content to be present in the compound file after applying label

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Windows 10

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions