Body and attachments are lost when eml added to Pst

Hi,
I’m loading an eml and adding it to the pst, run the sample project and a pst will be made by adding the existing eml to it.
Now inspect the pst and see the eml item we just added into it, body and attachments are all lost.
Even if you set:
EmlLoadOptions.PreserveTnefAttachments = True
No difference will be made!
Thanks.

WindowsApplication2.zip (4.1 MB)

@australian.dev.nerds,

We have opened the following new ticket in our internal issue tracking system.

Issue ID(s):EMAILNET-41023
1 Like

Hello,
Seems fixed, but a problem:

Run the sample app, you can see the source eml.eml has a TNEF attachment that will be lost when added to PST
Can’t preserve it?
Thanks

WindowsApplication2.zip (4.1 MB)

@australian.dev.nerds,

It is not quite clear why you need to preserve TNEF in MAPI?
TNEF is the format for storing MAPI properties in EML.
In MapiMessage, the properties are stored as is and there is no point in keeping them there in a TNEF attachment.