SendItem

Topic Last Modified: 2006-06-11

The SendItem element is the root element in a request to send an item in the Exchange store.

Syntax

<SendItem SaveItemToFolder="">
   <ItemIds/>
   <SavedItemFolderId/>
</SendItem>

Type

SendItemType

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

SaveItemToFolder

Identifies whether a copy of the sent item is saved. The save action depends on the value of SaveItemToFolder and whether a SavedItemFolderId element is present in the request. This element is required.

SaveItemToFolder Attribute

Value Description

true

If the SavedItemFolderId element is not present, the item is saved in the Sent Items folder. If the SavedItemFolderId element is present, the item is saved in the folder that is specified by the SavedItemFolderId element.

false

If the SavedItemFolderId element is not present, the item is not saved. If the SavedItemFolderId element is present, an error response will be returned with a ResponseCode element that contains the ErrorInvalidSendItemSaveSettings value.

Child Elements

Element Description

ItemIds

Contains the unique identities of items, occurrence items, and recurring master items that are used to delete, send, get, move, or copy items in the Exchange store.

SavedItemFolderId

Identifies the target folder for operations that update, send, and create items in the Exchange store.

Parent Elements

None.

Remarks

If an item in the Sent Items folder is sent, the sent item is deleted and a copy of it is put in the Sent Items folder.

The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

Element Information

Namespace

https://schemas.microsoft.com/exchange/services/2006/messages

Schema Name

Messages schema

Validation File

Messages.xsd

Can be Empty

False

See Also

Reference

SendItem Operation