How to decode a .pst Files Data Block

Ruhela
Ruhela used Ask the Experts™
on
hi All .

          i am developing an Apllication in VC++ in which  i am tyrying to recover a email that is Deleted from Outlook. for that i am trying to a read  .pst file. but the .pst file is in compressable encrypted format.  so i am not able to read file. i have tried to open this .pst file in hex editor to read data from the file.
    but here all file looking like totaly garbase value.

so please tell me what is the exact Algo or technique that is used to encrypt this pst file so that i will able to decrypt this pst file.

or tell me any other technique by which i can recover deleted email that is deleted from deleted folder too.


thanking you
   
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
I think you can use MAPI:

MSDN. PC MAPI: Sample C++ Code to Read Mail Messages
http://support.microsoft.com/kb/140337

MAPI example code for getting folders and messages
http://www.wischik.com/lu/programmer/mapi_utils.html

CodeProject. Outlook Email Extractor
http://www.codeproject.com/KB/dotnet/OutlookEmailExtractor.aspx

Enumerating emails in C++
http://www.codersource.net/win32/win32-c-mapi/mapi-enumerating-emails-in-c.aspx

Here is an interesting page:
Microsoft Outlook Programming
http://www.outlookcode.com/archive0/d/mapi.htm

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial