Parse .msg file using C#
16,477
Solution 1
- In the Outlook Object Model, use Application.Session.OpenSharedItem (will return MalItem).
- If using Redemption is an option, use its RDOSession.GetMessageFromMsgFile method.
Solution 2
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.
Author by
SmartestVEGA
Updated on June 04, 2022Comments
-
SmartestVEGA almost 2 years
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?
-
SmartestVEGA about 14 yearsbut i m not able to reference the class OutlookStorage.Message????
-
Darin Dimitrov about 14 yearsYou need to download the accompanying source code which contains everything that is needed.
-
drzaus over 5 yearsIronically this SO page is now the first hit on google, at least when I search ".net parse .msg file"