SendItem
Sends an existing item—such as a draft email message—that resides in the Exchange store. This procedure finalizes the send action and delivers the message to the recipient(s).
Input
| Name | Type | Required | Description |
| ItemId | String | True | The unique identifier of the item to be sent, such as an email draft. This is a required field and is used to locate the item in the mailbox. |
| ItemChangekey | String | True | The version-specific change key of the item to be sent. This value ensures that the correct version of the item is used during the send operation. Required to maintain consistency. |
| SaveToFolder | String | False | A Boolean value that determines whether a copy of the sent item should be saved. If true, the item is saved to the folder specified by 'SavedItemFolder'. If false, the item is sent but not stored. |
| SavedItemFolder | String | False | Specifies the target folder where the sent item should be saved. This can be the name of a standard folder like 'SentItems' or a FolderId of a custom folder. Defaults to 'SentItems' if not specified. |
Result Set Columns
| Name | Type | Description |
| ResponseClass | String | Indicates the overall outcome of the SendItem operation. Typical values include Success (operation completed), Warning (operation completed with issues), or Error (operation failed). |
| ResponseCode | String | A machine-readable response code that provides additional diagnostic detail about the SendItem operation. Useful for programmatic error handling. |
| MessageText | String | A human-readable message describing the result of the SendItem operation. This includes specific information about any warnings or errors encountered during processing. |