How to get the PR_ENTRYID value C#

  • Thread starter Thread starter xiahmi
  • Start date Start date
X

xiahmi

Hi,

How can I get PR_ENTRYID using c# in outlook 2007 and
how do I possible load the mail using the enryId?

Please help me, I really got no idea on this.

Thanks
 
You need an item reference to be able to read the item.EntryID property,
which is returned as a string. The item must have been saved for that or
EntryID will be null or empty. To open an item using an EntryID you use
NameSpace.GetItemFromID() and supply the EntryID and StoreID or a missing
value for StoreID.

You can easily find all of this sort of thing in the Object Browser, as well
as sample code. Try the Outlook VBA Object Browser. Also, this group is for
Outlook custom forms, so you might try posting to a more appropriate group.
 
Hi,

Sorry for posting it here, where should I be posting it, can you give me a
link? thanks

Thanks also for your answer, at least I have a reference now.
Thanks a lot
 
Either microsoft.public.outlook.program_addins or
microsoft.public.outlook.program_vba would be appropriate for that sort of
question.
 
Back
Top