Whenever we have attachments of type EmbeddedItem(like Msgs that came as attachment), we get a bad attachment for the Msg-Attachment.
We are using this method for saving the Msg file with EntryIds
using (FileStream fs = File.OpenWrite(physicalFilePath))
{
_personalStorage.SaveMessageToStream(entryId, fs);
}
We have seen related issues being worked
with resolutions here;
I guess these updates have fixed the issue with Aspose.Email.Mapi.MapiMessage.
But we still have this issue when using SaveMessageToStream from PersonalStorage object.
I can attach a sample PST with just one email just so that you can reproduce it.
Below is the link to the pst you can test with. I guess it is not about the PST, more about using the method _personalStorage.SaveMessageToStream(entryId, fs);
We were able to reproduce the issue reported by you. A ticket has been logged in our issue tracking system as EMAILNET-39100 to investigate this further. We will get back to you as soon as we have additional information.
In the meantime, you can use the code snippet given below to convert PST to MSG.
Thanks for the update. We are aware of this method.
Do let us know if you are able to fix the other method for _personalStorage.SaveMessageToStream(entryId, fs);
The issues you have found earlier (filed as EMAILNET-39100) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan