MessageDispositionType Enum

Definition

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

public enum class MessageDispositionType
public enum MessageDispositionType
Public Enum MessageDispositionType
Inheritance
MessageDispositionType

Fields

SaveOnly 0

When used in the CreateItemType, the e-mail message item is saved in the folder that is specified by the SavedItemFolderId property, or in the Sent Items folder if SavedItemFolderId is not specified. Messages can be sent later by using the SendItem(SendItemType) method on an ExchangeServiceBinding object. An item identifier is returned in this case.

SendAndSaveCopy 2

When used in the CreateItemType, the e-mail message item is sent and a copy is saved in the folder that is specified by the SavedItemFolderId property, or in the Sent Items folder if SavedItemFolderId is not specified. An item identifier is not returned in this case.

SendOnly 1

When used in the CreateItemType, the e-mail message item is sent but no copy is saved. An item identifier is not returned in this case.

Remarks

When the MessageDispositionType is used for the CreateItemType, it only applies to e-mail messages. When the MessageDispositionType is used for the UpdateItemType type, it can apply to e-mail messages and meeting messages, including meeting cancellations, meeting requests, and meeting responses. This enumeration is not used for response objects.

CreateItem responses return an ItemId when MessageDispositionType is set to SaveOnly.

Applies to