CommandCodes
CommandCodes enumeration
The following table provides the numeric codes that correspond to the ActiveSync commands. The numeric code is used in the Command code field of the base64 encoded URI to specify the command.
public enum CommandCodes
Values
Name | Value | Description |
---|---|---|
Undefined | -3 |
Command code is not defined. |
Options | -2 |
The OPTIONS command, is used to discover what protocol versions are supported, and which protocol commands are supported on the server. |
Autodiscover | -1 |
The Autodiscover command facilitates the discovery of core account configuration information by using the user’s Simple Mail Transfer Protocol (SMTP) address as the primary input. |
Sync | 0 |
Synchronizes changes in a folder between the client and the server. |
SendMail | 1 |
Sends mail to the server. This command is issued in the HTTP POST command’s URI, and does not contain an XML body. The body will instead contain the MIME message. |
SmartForward | 2 |
Forwards a Message object without retrieving the full Message object from the server. |
SmartReply | 3 |
Replies to a Message object without retrieving the full Message object from the server. |
GetAttachment | 4 |
Retrieves an e-mail attachment from the server. |
FolderSync | 9 |
Synchronizes the folder hierarchy but does not synchronize the items in the folders. |
FolderCreate | 10 |
Creates an e-mail, calendar, or contacts folder on the server. |
FolderDelete | 11 |
Deletes a folder from the server. |
FolderUpdate | 12 |
Moves a folder from one location to another on the server and is used to rename folders. |
MoveItems | 13 |
Moves items from one folder to another. |
GetItemEstimate | 14 |
Gets an estimate of the number of items in a folder that is synchronized. |
MeetingResponse | 15 |
Used to accept, tentatively accept, or decline a meeting request in the user’s Inbox folder. |
Search | 16 |
Finds and retrieves information about contacts and recipients in the Global Address List. |
Settings | 17 |
Supports getting and setting global properties, such as Out of Office (OOF) and device information. |
Ping | 18 |
Requests that the server monitor specified folders for changes that would require the client to resynchronize. |
ItemOperations | 19 |
Identifies the body of the request or response as containing a set of commands operating on items. |
Provision | 20 |
Gets the security policy settings set by the server administrator, such as the user’s minimum password length requirement. |
ResolveRecipients | 21 |
Resolves a list of supplied recipients and optionally fetches their S/MIME certificates so that clients can send encrypted messages. |
ValidateCert | 22 |
Validates a certificate that has been received through an S/MIME mail. |
See Also
- namespace Aspose.Email.Clients.ActiveSync.TransportLayer
- assembly Aspose.Email