Extracting MailItem from attached .msg file

Joined
Aug 28, 2014
Messages
1
Reaction score
0
Hi,

I'm new to this forum, and hope that someone can help with an issue I have. I'm developing an Add-in in C# for Outlook 2010. The purpose of the Add-in is to save all attached files of an email in a specified folder on the local drive. In general, the saving of attachments go well; however, as some of the attachments are .msg files, what I really want is not to get the .msg files themselves saved, but rather any attachments they have - i.e. a kind of recursive operation.

In this regard I have searched for any viable advise to how to programmatically import attached .msg files into MailItem objects - to no avail. There have been many examples around the web, but no conclusive method seems to be given. I'm very much in doubt about how this is best done, so I hope that someone here will be able to help.

Thanks in advance.

Best regards.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top