tags:

views:

3053

answers:

5

Does anyone know of a good tool that converts .pst to .csv files through command line?

A: 

one time only? or programmatically?

if one time only, import into a mail program that handles mbox (e.g. Thunderbird), at which point you just have text files, manipulate as desired.

otherwise, no idea, best of luck.

scunliffe
A: 

I need to be able to do it programmatically!

I didn't see anything useful in MailNavigator or Wikipedia...

@Tamila: I recommend using comments against the question, rather than posting answers. However, you do need 50 rep points for that...so you are excused. I suggest deleting this answer - I'll expand my answer.
Jonathan Leffler
+1  A: 

Can you assume Outlook is installed on the computer? If so, I believe it can be background scripted using OLE or something similar. I've done file conversions through Excel using Ruby that way.

And here's a Perl example

Eli
A: 

You can always write a .Net application using CDO, MAPI, OOM or Redemption, that does what you need. I've written a complete Outlook exporter tool for my company, which you can view at http://www.tzunami.com

SaguiItay
+1  A: 

A solution I just stumbled across is: libpst

It obviously doesn't convert straight to CSV, but it converts into a more manageable format.

Importing into Outlook and then exporting as CSV is still probably the quickest solution, but libpst would certainly be useful if all you have is the PST file and no Outlook.

TK