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
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!
The code below
Code:
Imports Microsoft.Office.Interop.Outlook
.
.
.
Dim app As New Application()
Dim outlookNs As [NameSpace] = app.GetNamespace("MAPI")
outlookNs.AddStore(strPstFile)
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!