in reply to In search for a working Microsoft Outlook PST file converter

Given what you tell us it seems you can export a PST giving you a local copy. You can open this locally using Outlook and your messages are there. If you have not worked out how to open it locally with outlook the trick used to be to rename the current *.PST to PST.OLD with outlook closed. When you fire it up again it complains it can't find the PST and lets you enter the path. I could never find any other way of doing this but it has been years (Outlook 2000 days). Once you have finished reverse the process.

Given that you can access your PST with Outlook I would suggest simple Win32::OLE automation of your local Outlook. It may not be fast but should do the trick. You can find most of the code you need at Win32 - M$ Outlook and Perl. The code presented does not get the full headers which you might like to keep. You may find this VB example useful as it gets the headers, body, body as html. Headers and body appended to a text file is more or less standard *nix mailbox format.

  • Comment on Re: In search for a working Microsoft Outlook PST file converter

Replies are listed 'Best First'.
Re^2: In search for a working Microsoft Outlook PST file converter
by andreas1234567 (Vicar) on Apr 25, 2008 at 11:02 UTC
    Although I would prefer a solution which does not require Microsoft Outlook to be installed locally, I think you are right in that it's probably the way to go. I located a Win32 laptop with ActiveState perl and was able to dump the contents of the root Inbox folder using the code samples from this node as suggested.

    Some minor questions needs to be resolved (such as how to decend into the directory hierarchy of email folders?), but it basically works. Thanks.

    --
    No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]
      See this code example. I had been meaning to get around to this for a while. Your question triggered the to-its to get round to the do-its

      tuits->duits Migration from Outlook to any other mail program aka how to leverage Outlook as a working PST file converter