MAPI Boolean Service Capability Constants
These constants represent capabilities supported by a transport. The messaging application can query the tranport for, and set these capabilities.
Constant | Value | Description |
---|---|---|
kszCapHTMLMail | L"HTMLMail" | The transport is capable of processing HTML mail. |
kszCapAmountToFetch | L"FetchSize" | The transport is capable of setting the amount of text body retrieved during synchronization. |
kszCapAttachAmount | L"AttachFetchSize" | The transport is capable of setting the size of attachments retrieved during synchronization. |
kszCapAgeFilter | L"AgeFilter" | The transport is capable of filtering messages according to age (i.e., do not retrieve messages older than). |
kszCapSaveSent | L"SaveSent" | The transport is capable of saving sent items locally. |
kszCapSMSUnicode | L"SMSUnicode" | The transport is capable of processing unicode Short Message Service (SMS) messages. |
kszCapSMSDeliveryNotify | L"SMSDeliveryNotify" | The transport supports delivery notifications for Short Message Service (SMS) messages. |
kszCapSMTPAuthenticate | L"SMTPAuthenticate" | The transport supports SMTP authentication. |
kszCapIncludeOriginal | L"IncludeOriginal" | The transport is capable of including the original message along with replies and forwarded messages. |
kszCapIndentBody | L"IndentBody" | The transport is capable of indenting the body of messages. |
kszCapAddLeading | L"AddLeading" | The transport is capable of adding leading (providing extra space above and below each line of text) to messages. |
kszCapLeadChar | L"LeadChar" | The transport is capable of |
kszCapSyncMsgClasses | L"SyncMsgClasses" | The transport is capable of |
kszCapSyncMsgClassDef | L"SyncMsgClassDef" | The transport is capable of |
kszCapPropDialog | L"PropDialog" | The transport supports showing a property dialog box, and has a default value of FALSE. |
kszCapSyncHierarchy | L"SyncHierarchy" | The transport is capable of recreating a folder hierarchy during synchronization. |
kszCapDeleteAction | L"DeleteAction" | The transport supports the delete actions DELACTION_IMMEDIATELY and DELACTION_MANUALLY. |
kszCapMoveToTrash | L"TrashMoves" | The transport is capablie of moviing message items to the Deleted folder. |
kszCapReturnAddress | L"ReturnAddress" | The transport supports the return address property. |
kszCapCurrentService | L"CurrentService" | The transport supports the current service property. |
kszCapCreateSpecialFldrs | L"CreateSpecialFolders" | The transport supports the creation of special folders such as the Inbox, Outbox, and search-results. |
kszCapFolders | L"Folders" | The transport recognizes the use of folders in the message store. The default value is TRUE. Overrides the defaults in IMailSyncHandler::GetCapability. |
kszCapFolderNotifications | L"FolderNotifications" | The transport supports folder change notifications. The default value is FALSE. Overrides the defaults in IMailSyncHandler::GetCapability. |
kszCapClearAll | L"ClearAll" | The transport supports Clear All Items, and the default value is TRUE. |
kszCapEmptyDeleteItem | L"EmptyDeleteItem" | The transport supports the capability to empty the deleted items folder, and the default value is TRUE. |
kszCapEditProperties | L"EditProperties" | The transport allows the editing of properties, and the default value is TRUE. |
kszCapFolderOptions | L"EmptyFolderOptions" | The transport supports the capability of setting options for emptying folder contents, and the default value is TRUE. |
kszCapMgmtFolder | L"MgmtFolder" | The transport supports folder management, and the default value is TRUE. |
kszCapSync | L"Sync" | The transport supports synchronization of the message store, and the default value is TRUE. |
kszCapSyncOnDockEvent | L"SyncOnDockEvent" | The transport supports the synchronize on docking event, and the default value is TRUE. |
kszCapConnect | L"Connect" | The transport supports the connection event, and the default value is TRUE. |
kszCapRequireRadio | L"RequireRadio" | Use of the transport requires a radio transceiver, and the default value is FALSE. |
kszCapMarkAttachments | L"MarkAttachments" | The transport supports the ability to mark attachments, and the default value is FALSE. |
kszCapReplyAll | L"ReplyAll" | The transport supports the ability to reply to all recipients, and has a default value of TRUE. Cannot be TRUE if there is no compose capability. |
kszCapAlwaysIncludeOriginal | L"AlwaysIncludeOriginal" | The transport supports the capability to always include the original message along with replies and forwarded messages, and the default value is FALSE. |
kszCapCompose | L"Compose" | The transport supports the capability to compose new messages, and the default value is TRUE. |
kszCapOfflineStatus | L"OfflineStatus" | The transport supports capability to detect the offline status event, and the default value is TRUE. |
kszCapCallSender | L"CallSender" | The transport supports the capability to call the sender, and the default value is FALSE. |
kszCapLanguage | L"Language" | The transport supports the capability to detect language, and the default value is TRUE. |
kszCapAttachments | L"Attachments" | The transport supports the capabiliy to send and receive attachments, and the default value is TRUE. |
kszCapFolderManagementAllowCreate | L"FolderManagementAllowCreate" | The transport supports the capability of folder creation, and the default value is TRUE. |
kszCapFolderManagementAllowRename | L"FolderManagementAllowRename" | The transport supports the capability of folder renaming, and the default value is TRUE. |
kszCapFolderManagementAllowDelete | L"FolderManagementAllowDelete" | The transport supports the capability of folder deletion, and the default value is TRUE. |
kszCapCannotSendMeetingRequests | L"CannotSendMeetingRequests" | The transport is not capable of sending meeting requests, and the default value is FALSE. |
kszCapClearAllOnServer | L"ClearAllDeletesFromServer" | The transport supports clearing all deleted items from the server, and the default value is TRUE. |
kszCapServiceFromMessage | L"ServiceFromMessage" | The transport does not rely upon another transport. Only used in IMailSyncCallBack::GetGlobalSetting.
To handle this, the kszCapServiceFromMessage capability constant returns a pointer to the IMailSyncHandler interface, which corresponds to a given message. A pointer to the message is passed in the SPropVal passed into IMailSyncCallBack::GetGlobalSetting. Note This behavior is slightly different than other capabilities, which use this parameter only as an OUT parameter, not an IN/OUT parameter. |
See Also
MAPI Constants | IMessageFormHostEx::GetGlobalSetting | IMailSyncHandler::SetCapability | IMailSyncHandler::GetCapability | IMailSyncCallBack::GetGlobalSetting | IMessageFormHostEx::GetGlobalSetting
Send Feedback on this topic to the authors