MoveMessages
MoveMessages moves a message or group of messages to
another folder.
Available for both premium and non-premium accounts.
Parameters
| Name | Description |
|---|---|
| sourceFid | Source folder ID. |
| destinationFid | Destination folder ID. |
| mid | Message ID. This can be repeated for each message to be moved. |
| selection | Move messages matching the selection flags. All messages will be moved if an empty flags object is passed and no mid is present in the request. |
Returns
| Name | Description |
|---|---|
| sourceFolder | FolderData. Source folder data. |
| destinationFolder | FolderData. Destination folder data. |
| mid | New message ID's (repeatable). |
| error | ErrorCode |
Example
Request
This SOAP request moves a message to the trash folder.

