Free Support Forum - aspose.com

Empty BODY when extracting MSG from OST

Using Aspose.Network 6.8, I am extracting MSG files from PSTs and OSTs:

MapiMessage msg = outlookFile.ExtractMessage(messageInfo.EntryId);
msg.Save(item.MsgPath);

Saving MSG files from OSTs sometimes results in files with email body that appears empty. When I open these MSG files natively, the body is blank. However, opening them in Notepad.exe reveals there is body content there. Might the HTML be formatted incorrectly for OSTs?

This does not appear to happen when extracting from PSTs. Only OSTs. I have attached two example MSGs exported from OST.

This is a very important issue; can it be addressed?

Thank you very much!

Rob

Hi Rob,

Thanks for the sample files, I will check at my end and update you shortly.

After other tests, the issue may be specific to emails that have HTML content.

Thank you for your help!

Rob

Hi Rob,

I have reproduced the issue with emails containing HTML content and logged this in our bug tracking system (ID: 30731). We will look into it and will update you when it gets fixed. Sorry for the inconvenience.

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


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

I saw the available update on 9/30, integrated it into my code, and tested it. I can confirm that the MSG body appears correctly now. Thank you very much!