There are some pst files in my outlook which I keep them closed by right clicking on them and choosing the "close" option. In my code,I am using the AddStore method to add them to the mapi namespace. This works fine if the pst files are not password protected.
But when they are password protected and the outlook does not find the password in cache, it gives me an exception "Outlook failed to add the personal store to this session." I am working in C#.NET. Can someone tell me how can I Prompt for the password from
user programatically for the PST files that are password protected and how can I add these psts to mapi namespace even if password is not present in cache.
cool.mugil
Member
3 Points
35 Posts
Read PST Files
Oct 27, 2010 07:24 AM|LINK
Hi
There are some pst files in my outlook which I keep them closed by right clicking on them and choosing the "close" option. In my code,I am using the AddStore method to add them to the mapi namespace. This works fine if the pst files are not password protected.
But when they are password protected and the outlook does not find the password in cache, it gives me an exception "Outlook failed to add the personal store to this session." I am working in C#.NET. Can someone tell me how can I Prompt for the password from user programatically for the PST files that are password protected and how can I add these psts to mapi namespace even if password is not present in cache.
zlatan24
Member
20 Points
11 Posts
Re: Read PST Files
Jul 04, 2011 03:06 PM|LINK
You can try pst file reader. It is able to work under low system requirements, program works with copies of corrupted pst files.