Reading Windows Mail's message store

Document Sample
Reading Windows Mail's message store Powered By Docstoc
					                                    Reading Windows Mail's message store

Reading Windows Mail's message store

Source:
http://www.tech−archive.net/Archive/Development/microsoft.public.win32.programmer.messaging/2009−06/msg0004



      • From: "Sam Hobbs" <Gateremovethis@xxxxxxxxxxxx>
      • Date: Tue, 9 Jun 2009 18:29:01 −0700

I have read that the Windows Mail's message store is an ESE database. First, note that I am not sure I am not
using the correct terminology so perhaps the term "message store" is incorrect. Also, I know that each
individual message is in a separate eml file.

The most important thing I need to know is if the database can be accessed using the ESE API such as
JetOpenDatabase. Also, I assume that the message store is:

C:\Users\User\AppData\Local\Microsoft\Windows Mail\WindowsMail.MSMessageStore

Or an equivalent folder and file.

Am I correct so far?

I have begun trying to write sample code but I am getting an error saying the database does not exist. If I
know I am headed in the right direction then I will continue to try to figure it out.

I am using C# and the Unicode versions of the functions. I am using DllImport for the esent.dll. I realize that I
might need to convert to use of the ANSI functions, so if someone knows for sure then it would help for me to
know that. I can use C++ if necessary but I assume that is not necessary. I cannot find a type library or any
COM interface to ESE. If ADO supports ESE then I will use it but I don't see that as an option.

I have tried to search for anything relevant but I have not found much.

.




Reading Windows Mail's message store                                                                            1

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:5
posted:2/25/2012
language:
pages:1