We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Corrupt attachments of MSG files added to a new PST

Simple case,

Review with attached example solution.

I have an existing message called (original.msg).
This message has an attachment which is a word document (OfflineTest.docx)
If I open the original.msg file I can open the attached docx file. - Success.

Using aspose I create a new PST file (generated.pst) and add the original.msg file.
using (PersonalStorage pst = PersonalStorage.Create(pstLocation, FileFormatVersion.Unicode))
var mapiMessage = MapiMessage.FromMailMessage(msgFileToPackage);

When I then either try and add the PST file into outlook OR extract the message using Aspose. When opening the attachment of the email i get an error. (This error only applies on the new version of the msg and not the original).

To reproduce, extract solution, run the test goto the bin/debug folder, open the extracted.msg file and try an open the word attachment. (Attached for reference)


Hi Dave,

Thank you for contacting Aspose support team.

I have tested the sample project and observed the issue. It is logged as Id:EMAILNET-35046 in our bug tracking system for further investigation by the product team. I shall write here as soon as some feedback is received in this regard.

The issues you have found earlier (filed as EMAILNET-35046) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.