4.2 Setting the Flag on an E-Mail

The examples in this section show how to use the Sync command request and Sync command response ([MS-ASCMD] section to set e-mail flags on the client and the server.

Note the following:

  • Implicit deletes: If an element is not present within the Flag container element (section in a request or response, then the corresponding property is deleted.

  • Although elements from the Tasks namespace do appear in the following examples, all properties are saved on the e-mail item only. No task items are created.