I need to read from Outlook .MSG file in .NET without using COM API for Outlook (cos it will not be installed on the machines that my app will run). Are there any free 3rd party libraries to do that? I want to extract From, To, CC and BCC fields. Sent/Receive date fields would be good if they are also stored in MSG files.
msg file not opening in outlook” issue is to open the file manually. In some cases, Outlook is not the default email client, so there is no relevant application to open the MSG file. Right-click on the MSG file on your system. Choose “Open with” and select Outlook(desktop) option.
1. Simply visit Zamzar.com in your favorite browser. 2. You then click on Choose Files to select the MSG file that you want to convert, select the file format you want to convert it to which is PDF here, and then finally click on Convert Now to initiate the conversion.
There is code avaliable on CodeProject for reading .msg files without COM. See here.
Update: I have found a 3rd party COM library called Outlook Redemption which is working fine for me at the moment. If you use it via COM-Interop in .NET, don't forget to release every COM object after you are done with it, otherwise your application crashes randomly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With