1

I need to recover the contents of an OST file from Outlook 2003. I don't need to do this so badly that I'm willing to pay the hundreds of dollars some companies charge for recovery utilities; I'm more interested in doing this from the intellectual challenge side of things. Are there any recommended libraries for doing this? I'd prefer something in either C# or Java.

Otis
  • 992
  • 3
  • 12
  • 22

4 Answers4

7

If you want to do it as an exercise you may want to write your own library.

Martin Vobr
  • 5,757
  • 2
  • 37
  • 43
4

I ran into the same problem. There seems to be a bunch of commercial tools, but I was only able to find one open source tool libpst. The (limited) documentation only talks about .pst files, but it worked like a charm on both .pst and .ost files for me (Outlook 2003, I believe).

I had a few issues compiling it. It couldn't seem to find the Python::Boost lib, but the following worked:

./configure --without-boost-python --disable-python && make

No need to rename the .ost file or convert it with scanpst.exe. Something like readpst -M outlook.ost will dump all your emails into files under the current dir.

Mark Grimes
  • 547
  • 4
  • 8
2

Rename the .ost extension to .pst and run scanpst.exe in your Office installation directory. For versions prior to Outlook 2007 this will convert your OST to a PST.

0

Maybe you could check Alioth LibPST. If you know C, you can probably go through the source code and make it do whatever you would like to do.

Hosam Aly
  • 41,555
  • 36
  • 141
  • 182
  • I'll check that but it sounds like it's for reading PST files and my belief is that OST files have a different format. – Otis Jan 21 '09 at 21:57
  • I thought at one point OST and PST were the same. Are they different now? – BuddyJoe Jan 21 '09 at 23:54
  • If they are, I may just be able to use libs on our MSDN discs at the office. – Otis Jan 22 '09 at 01:53
  • @Kiquenet I didn't try. You can find help at their mailing list. http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libpst-devel – Hosam Aly Oct 22 '16 at 16:27