dbpack has asked for the wisdom of the Perl Monks concerning the following question:

I have several thousand exported PST files that I need to search through for a few certain text strings. I have some code piecemealed together from snippets I've found that can read the bodies of e-mails in a shared Outlook folder, and dump them as flat text for searching (Uses Win32::OLE). I'm now attempting to put this portion into a loop that will first import a PST file into the shared Outlook folder, pull all the message bodies, search for required strings, then remove the PST from Outlook and import the next one. My problem is, I can't find ANYTHING related to importing a PST into outlook using perl. Does anyone know how I can do this?
  • Comment on use perl to import a .PST into an Outlook Shared Folder

Replies are listed 'Best First'.
Re: use perl to import a .PST into an Outlook Shared Folder
by tokpela (Chaplain) on Jul 14, 2009 at 09:44 UTC

    If you are just trying to search for text, you may just be interested in exporting the PST to a flat file.

    This post by Tachyon give a non-Perl export utility (I haven't used it)

    http://www.perlmonks.org/?node_id=466072
Re: use perl to import a .PST into an Outlook Shared Folder
by Anonymous Monk on Jul 14, 2009 at 07:44 UTC
    My problem is, I can't find ANYTHING related to importing a PST into outlook using perl. Does anyone know how I can do this?

    You should try searching on how to do it "using VB", then translate to perl calls :)