in reply to Outlook Personal Folders

Either manually or as suggested use OLE to first export the whole mailbox as a text file (mailbox only, not contacts etc). Then process the text file to split it up into individual files. If you try to use OLE to do the whole job, then you'll need to programmatically select each email in outlook...which will probably prove quite difficult
the hardest line to type correctly is: stty erase ^H

Replies are listed 'Best First'.
Re^2: Outlook Personal Folders
by nnigam (Novice) on Apr 13, 2005 at 19:18 UTC
    Thanks acquarium and natetut. I found a link to a perlmonk sample code snipit. I had to modify the code a little bit since the original did not work, but I think I have it working now. The only header information that I am able to get are the Sendername, To, Subject and Body. I am unable to get the messageid, or the date, or any other header information and I do not see them anywhere in win32 ole that I could use to modify the code for them. I added a counter and am renaming the images in sequential order but by this method the same messge will have different id's depending on when I run the script. This is working great for my inbox. However, I do not see where or how to open a standalone PST file.