Extracting the objects inserted in .msg file

Hi,
I have attached the message file that has some attachments.I was successful to extract general attachment in the message file. But when same attachment was attached in the body of the message via Insert->Object option, Aspose does not extract this embedded attachments.Instead, it extracts three different file in the formats .wmz,.mso,*.png. I have attached the msg file.
I have zipped the file.
Will aspose extract these embedded objects present in the body of the message in its original file format?

Hi,

Thanks for posting the msg file.

We are looking into this issue and get back to you shortly.

Hello,

Would you please share me the code that you are using to extract the attachment.

Thanks

I am having this same issue using the following code:

MailMessage msg = MailMessage.Load(“C:\test.msg”,MessageFormat.MSG)

foreach (Attachment att in msg.Attachments)
{
att.save(Path.combine(“C:\output”,att.Name);
}

The file (msg) has an embedded MSG and 2 normal attachments (xls, doc).

The code extracts:

123.XLS
123.DOC
oledata.mso
image003.png
image004.wmz

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


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