Exchange web services: why is ItemId not constant?

后端 未结 3 1272
名媛妹妹
名媛妹妹 2020-12-17 16:50

I write a small application, which should automatically process the emails from a public folder. For each email, we want to save some metadata, in a database.

I wan

3条回答
  •  情话喂你
    2020-12-17 17:28

    My understanding is, that the EWS unique id contains the EntryId in some form. Therefore, it will change once the element is moved to another folder.

    And while not applicable here, the situation is more complicated with calendar entries, as Exchange destroys and recreates an appointment under certain circumstances, thereby changing the unique id.

    This page (http://msdn.microsoft.com/en-us/library/cc815908.aspx) contains an overview over MAPI properties which can be used to identify an object. An alternative to this is that you can add your own id property to the Exchange element (via extended property).

提交回复
热议问题