Mail EntryId

Hi,

I use Aspose to iterate through emails in OST file, everything works as expected. But I want to understand about MesageInfo.EntryId

Using Aspose the value of email I am searching is shown as
EntryIdString ==> AAAAAIa2dblwPEFPktTf5VQdPIBE5SIA
EntryId ==> 00-00-00-00-86-B6-75-B9-70-3C-41-4F-92-D4-DF-E5-54-1D-3C-80-44-E5-22-00

But if I use Outlook Iterop library the EntryId looks like below
00000000ED906AE5C139804E945AA0A373CC962507004AF2CAE6A0174440BCDDA7DF32DC94F600000000010C00004AF2CAE6A0174440BCDDA7DF32DC94F600003611AC640000

I also try to use Outlook Spy tool to look in to the mail properties and found that EntryId matches what interop is showing.

image.png (9.0 KB)

Can you please let me know how Aspose gets the EntryId and is there a way to convert the value which is shown in Aspose to Interop value?

@bvadala

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input OST or message file.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

@tahir.manzoor

I tried to create new message file and I see newly created mail EntryId matches Aspose and Interop. So something to do with my existing emails and I won’t be able to share my entire OST file.

Can I just understand the EntryId from MessageInfo object is always from PR_ENTRYID MAPI property (Tag num: 0x0FFF0102)?
How EntryIdString is calculated?

Thanks,

@bvadala

The EntryId property is unique within at least one OST/PST. This property is described in Microsoft documentation.

Thanks @tahir.manzoor
Can you please tell me about EntryIdString ?

@bvadala

The FolderInfo.EntryIdString is string representation of entry ID.