Automatic Conflict Resolution

Once a conflict message has been identified, an application or form can resolve the conflict as follows:

  1. It locates the attachments in conflict by reading the PR_IN_CONFLICT property on the attachment table.
  2. It resolves the conflict between these attachments in one of two ways:
  3. Using the MAPI IMAPIProp::CopyTo method, it copies the resolved properties to the main message (the message to which conflicting messages are attached). Then, the attachments are deleted.

When all conflicting message attachments are deleted and changes are saved, Microsoft Exchange Server automatically clears the message’s MSGSTATUS_IN_CONFLICT bit. You do not need to programmatically reset this bit after the conflicting message attachment is deleted.