2.2.5.1 t:MessageDispositionType Simple Type

The MessageDispositionType simple type specifies how a message item is handled after it is created or updated.

 <xs:simpleType name="MessageDispositionType">
   <xs:restriction
     base="xs:string"
   >
     <xs:enumeration
       value="SaveOnly"
      />
     <xs:enumeration
       value="SendOnly"
      />
     <xs:enumeration
       value="SendAndSaveCopy"
      />
   </xs:restriction>
 </xs:simpleType>
  

The following table lists the values that are defined by the MessageDispositionType simple type.

Value

Meaning

SaveOnly

When used in the CreateItemType complex type ([MS-OXWSCORE] section 3.1.4.2.3.2), the email message item is saved in the folder that is specified by the TargetFolderIdType complex type ([MS-OXWSFOLD] section 2.2.4.16). Messages can be sent later by using the SendItem operation (section 3.1.4.6) on an ExchangeServiceBinding object. In this case, an item identifier is returned.

SendOnly

When used in the CreateItemType complex type, the email message item is sent but no copy is saved. In this case, an item identifier is not returned.

SendAndSaveCopy

When used in the CreateItemType complex type, the email message item is sent and a copy is saved in the TargetFolderIdType complex type. In this case, an item identifier is not returned.