Click or drag to resize

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.

Namespace:  Aspose.Email.Clients.ActiveSync.TransportLayer
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
public enum CommandCodes
  Member nameValueDescription
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.
Sync0 Synchronizes changes in a folder between the client and the server.
SendMail1 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.
SmartForward2 Forwards a Message object without retrieving the full Message object from the server.
SmartReply3 Replies to a Message object without retrieving the full Message object from the server.
GetAttachment4 Retrieves an e-mail attachment from the server.
FolderSync9 Synchronizes the folder hierarchy but does not synchronize the items in the folders.
FolderCreate10 Creates an e-mail, calendar, or contacts folder on the server.
FolderDelete11 Deletes a folder from the server.
FolderUpdate12 Moves a folder from one location to another on the server and is used to rename folders.
MoveItems13 Moves items from one folder to another.
GetItemEstimate14 Gets an estimate of the number of items in a folder that is synchronized.
MeetingResponse15 Used to accept, tentatively accept, or decline a meeting request in the user's Inbox folder.
Search16 Finds and retrieves information about contacts and recipients in the Global Address List.
Settings17 Supports getting and setting global properties, such as Out of Office (OOF) and device information.
Ping18 Requests that the server monitor specified folders for changes that would require the client to resynchronize.
ItemOperations19 Identifies the body of the request or response as containing a set of commands operating on items.
Provision20 Gets the security policy settings set by the server administrator, such as the user's minimum password length requirement.
ResolveRecipients21 Resolves a list of supplied recipients and optionally fetches their S/MIME certificates so that clients can send encrypted messages.
ValidateCert22 Validates a certificate that has been received through an S/MIME mail.
See Also