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

Free Support Forum - aspose.com

File Size Issue

As a simple test, we open a msg file and then save it without any change. .msg file size before change is 15 kb and once we save it with this component size gets increased to 57 kb. this is consistent across multiple emails.

Here is the code that we are using.

MailMessage msg = MailMessage.Load(MSGFilePath, MailMessageLoadOptions.DefaultMsg);

msg.Save(System.IO.Path.ChangeExtension(MSGFilePath, "_Converted.msg"), Aspose.Email.Mail.SaveOptions.DefaultMsgUnicode);

I've attached the original and modified .msg file.



Hi Himal,

Thank you for contacting Aspose support team.

This issue is already discussed here and following are the observations.

Outlook and Aspose differ in processing some message properties. It is impossible to make a precise reproduction of the file saved by Outlook as we may not know what algorithm is used for processing properties by Outlook. Note, that these differences do not influence the display of the content of the message and data loss.

Please feel free to write us back if you have any other query in this regard.