Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Outlook Personal Folders

by maa (Pilgrim)
on Apr 14, 2005 at 07:21 UTC ( #447665=note: print w/replies, xml ) Need Help??

in reply to Outlook Personal Folders

Hi, nnigam

There are only a couple of ways of doing this (opening the pst).

  1. As part of Outlook or MAPI where a pst file is represented as a Message Store
  2. As an individual file

I don't know how to do (2) but I know a project that does. Have a look at LibPST at either or If you can convert the pst to mbox format you can then use one of the standard mail modules to do what you want.

HTH --

Replies are listed 'Best First'.
Re^2: Outlook Personal Folders
by nnigam (Novice) on Apr 14, 2005 at 13:43 UTC
    Thank you. Both point to libpst, and it looks promising. I will have to compile it though before I can try it out. Is a compiled version available anywhere? This would be good, because I have found a program, Mhonarc that can convert the mbox format to html pages, and then I have created a perl script to convert them all to text format which is what I want. Can't have a virus in text. How would I go about 1. Looking over Win32::Ole, I do not see how to open message store folders. I will play around with this somemore today and see what I can find out.
      OK. I do not have a C compiler here so could not compile the libpst files. I will do that to be able to process standalone pst files without the need for outlook.

      I have converted an old sample program I saw on this website to handle any folder in outlook and export messages as text files named msgXXXXX in order. All attachments are also exported in native format with the msgxxxxx tacked on to the beginning of the file.

      If anyone is interested, I would be willing to post the working code here. Currently, I just modify the source code to point to the folder to process, but may make a front end to pass as parameters.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://447665]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2023-06-08 04:42 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (29 votes). Check out past polls.