Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27207

VS 2010 Read PST files - make a bunch of MSG files from each message

$
0
0
The subject says it all - I want to open a variety of .PST files that I have and extract emails into .MSG files.

The code below

Code:

Imports Microsoft.Office.Interop.Outlook
.
.
.
                        Dim app As New Application()
                        Dim outlookNs As [NameSpace] = app.GetNamespace("MAPI")
                        outlookNs.AddStore(strPstFile)

Actually take the .PST file and puts it into my OUTLOOK's MAILBOX MAIL FOLDERS tree.

That is certainly not what I want to do with this.

I want to open the .PST file and look at it's contents - extract emails - make .MSG files out of them - and continue on to the next .PST file.

Thanks!

Viewing all articles
Browse latest Browse all 27207

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>