TnefLoadOptions.PreserveEmbeddedMessageFormat = True is not honored

Hello,
Sample project:
WindowsApplication22.zip (3.9 MB)

Bug 1: MsgLoadOptions.PreserveEmbeddedMessageFormat = True is NOT honored, attached .msg file is always converted to .eml, regardless of those settings!

Bug 2: The output Tnef file will not have the message attachment’s extension.

@australian.dev.nerds,

Your case is being investigated.

Thanks for waiting.

@australian.dev.nerds,

Couldn’t reproduce any of the above issues.

Hello,
I can reproduce it easily!
Please kindly run this sample:
WindowsApplication23.zip (3.9 MB)

You’ll get it in no time! Notice the message box alerts.

msg.msg has an attachment named “Get started with Microsoft Teams” in msg format.

After converting to TNEF, I use MailMessage to load it, now that attachment is in eml format.
No matter what you set for MsgLoadOptions/TnefLoadOptions PreserveEmbeddedMessageFormat
Thanks :slight_smile:

@australian.dev.nerds
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): EMAILNET-41059

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.