Click here to Skip to main content
15,894,955 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Does anyone already succeed reading the file .msg in a particular location or path.

I did it in vb6 but I can't do it in vb.net. I'm using vb.net 2010.

Here is my code in vb6:
VB
Dim Msg As RDOMail
Dim Session As RDOSession

Set olNs = olApp.GetNamespace("MAPI")
Set Session = New Redemption.RDOSession
Session.Logon

Set Msg = Session.GetMessageFromMsgFile("C:\This One.msg")


Using RDOMail I was able to read the content of the .msg file. Please can any one help my to do his iin vb.net...Any help would be vary much appreciated. Thanks :)
Posted

1 solution

This article is C#, but it should give you the general idea. Reading an Outlook MSG File in C#[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900