Reading an Outlook 2003 OST file
Asked Answered
G

4

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.

Geoponic answered 21/1, 2009 at 19:53 Comment(0)
D
7

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

Decameter answered 16/11, 2010 at 18:31 Comment(1)
really I can read Off-line Storage Table (.ost) files using C#, not C++?Mv
R
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.

Retract answered 3/12, 2009 at 20:3 Comment(0)
C
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.

Crownpiece answered 1/5, 2009 at 4:4 Comment(1)
I remember this trick oh so long ago. Yeah, too bad it doesn't work for 2007 now.Lignite
L
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.

Lounging answered 21/1, 2009 at 21:37 Comment(4)
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.Geoponic
I thought at one point OST and PST were the same. Are they different now?Handgun
If they are, I may just be able to use libs on our MSDN discs at the office.Geoponic
@Mv I didn't try. You can find help at their mailing list. lists.alioth.debian.org/cgi-bin/mailman/listinfo/libpst-develLounging

© 2022 - 2024 — McMap. All rights reserved.