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

Smime message in TNEF part is converted into a MultiPart/Mixed message #441

Closed
ymassad opened this issue Oct 11, 2018 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@ymassad
Copy link

ymassad commented Oct 11, 2018

I have an Smime message that is encapsulated inside a TNEF part.

The content type of the root part is application/ms-tnef.

This TNEF message contains a single attachment (smime.p7m).

If I use TnefPart.ConvertToMessage(), I get a MimeMessage that has a content type of multipart/mixed what contains a single part underneath it: application/x-pkcs7-mime; name=smime.p7m

Is this a bug? Shouldn't smime messages have the root mime entity be of content type application/x-pkcs7-mime (without having the multipart/mixed part)?

@jstedfast
Copy link
Owner

In an ideal world? I suppose, but it doesn't really matter.

jstedfast added a commit that referenced this issue Oct 11, 2018
@jstedfast jstedfast added the enhancement New feature or request label Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants