VB.NET read msg file

I have an application that requires to read the contents of outlook MSG files and read\obtain the contents of the email.  Can you please suggest the best method for opening and reading MSG files.
Who is Participating?
Chris BottomleySoftware Quality Lead EngineerCommented:
Hello Cmitch,

Using VBA you would for example:

Dim mai As mailitem
    Set mai = Application.CreateItemFromTemplate("c:\users\wobble\fred.msg")

I presume the VB.net interface will be similar and after running the code 'mai' is a mailitem that can be treated normally.


Éric MoreauSenior .Net ConsultantCommented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.