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?