Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parse .msg file using C# [closed]

I need to parse Outlook .msg files. How do I do it? Are there any classes?

I found http://www.aspose.com/purchase/pricing-info-step-1-of-3.aspx

Aspose it is a third party tool, which I need to purchase.

Is there any other way without purchasing?

like image 631
SmartestVEGA Avatar asked Nov 15 '22 12:11

SmartestVEGA


2 Answers

This article on CodeProject (http://www.codeproject.com/Tips/712072/Reading-an-Outlook-MSG-File-in-Csharp) its everething that you need.

Very complete and funcional.

like image 126
Anderson Rissardi Avatar answered Dec 06 '22 11:12

Anderson Rissardi


  1. In the Outlook Object Model, use Application.Session.OpenSharedItem (will return MalItem).
  2. If using Redemption is an option (I am its author), use its RDOSession.GetMessageFromMsgFile method.
like image 40
Dmitry Streblechenko Avatar answered Dec 06 '22 10:12

Dmitry Streblechenko