2

As mentioned in this post, it is possible to grab the entryID from Outlook messages.

But the problem is if theses messages are moved to another folder, the ID changes.

So, I guess I need the GUID, but I don't know how I can grab this via a macro in Outlook. Can anyone help me figure this out?

1 Answer 1

1

Use PR_SEARCH_KEY (http://schemas.microsoft.com/mapi/proptag/0x300B0102 for PropertyAccessor and Folder.GetTable filter).

4
  • Could you provide a reference? May 11, 2016 at 17:46
  • Reference to what? You can download MFCMAPI and see all properties by yourself.
    – thims
    May 11, 2016 at 18:01
  • For the EntryId part, not a reference for something not existing. May 11, 2016 at 18:02
  • @Raystafarian, thanks for mentioning, fixed the post. I mean, PR_SEARCH_KEY, of course. It only changes when moving between stores.
    – thims
    May 11, 2016 at 18:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .