Message Id USE and Definintion

  • Thread starter Thread starter Hector
  • Start date Start date
H

Hector

What is the Message Id used for? What is the information is contained
there? Could you give me examples on how to use this information
programmatically?

Thank you
 
Do you mean the MailItem.EntryID property? It is used to uniquely identify a
message. You can store the value of the entry id and use to open the message
at a later time using Namespace.GetItemFromID.
The internal format of the entry id should be treated as a black box - it
only makes sense to a particular message store provider that hosts the
message, your code should not make any assumptions regarding the entry id
content or length.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top