class CImImap4Settings : public CImBaseEmailSettings |
Settings for connection to and use of an IMAP4 mail server and its mailboxes.
Messaging clients should use an instance of this class to specify and retrieve configuration settings that are used by an IMAP4 service when executing email operations.
Service settings include:
server log on settings (user name and password)
message header synchronisation strategy and synchronisation limits
message getting options, such as maximum size. Note that these options are not used by the IMAP MTM. They can be used by client applications to store user preferences, and be used by the client when issuing get commands.
miscelleanous settings, including whether IMAP IDLE should be used
CImImap4Settings objects are created and accessed through CEmailAccounts. CEmailAccounts can also be used to get the connection settings, such as the ISP to use, used to access an IMAP server.
Settings for a service are associated with a service-type entry in the Message Server'smessage store. However the settings are not actually stored in the message store, but in the device's Central Repository data store.
Private Member Functions | |
---|---|
void | CheckExtensionExistsL() |
TImImap4SettingsExtension * | Extension() |
Private Member Enumerations | |
---|---|
enum | TImImap4EmailSettings { KImap4EmailSettingsClearFlag = 0x00000000, KImap4BaseEmailSettingsLastUsedFlag = CImBaseEmailSettings::EBaseEmailSettingsLastUsedFlag, KImap4EmailDisconnectedModeFlag = KImap4BaseEmailSettingsLastUsedFlag << 1, KImap4EmailAutoSendFlag = KImap4EmailDisconnectedModeFlag << 1, KImap4EmailDeleteEmailsWhenDisconnecting = KImap4EmailAutoSendFlag << 1, KImap4EmailAcknowledgeReceipts = KImap4EmailDeleteEmailsWhenDisconnecting << 1, KImap4EmailUpdatingSeenFlags = KImap4EmailAcknowledgeReceipts << 1, KImap4EmailIdleFlag = KImap4EmailUpdatingSeenFlags << 1, KImap4EmailExpungeFlag = KImap4EmailIdleFlag << 1, KImap4EmailUseSyncDownloadRules = KImap4EmailExpungeFlag << 1, KImap4EmailSettingsFolderSyncDisabled = KImap4EmailUseSyncDownloadRules << 1, KImap4EmailSettingsLastUsedFlag = KImap4EmailSettingsFolderSyncDisabled } |
Inherited Enumerations | |
---|---|
CImBaseEmailSettings:TImBaseEmailSettings |
Inherited Attributes | |
---|---|
CImBaseEmailSettings::iFlags | |
CImBaseEmailSettings::iPortNumber |
IMPORT_C CImImap4Settings & | CopyL | ( | const CImImap4Settings & | aCImImap4Settings | ) |
const CImImap4Settings & aCImImap4Settings |
IMPORT_C void | SetAttachmentSizeLimitL | ( | TInt32 | aAttachmentSizeLimit | ) |
TInt32 aAttachmentSizeLimit |
IMPORT_C void | SetBodyTextSizeLimitL | ( | TInt32 | aBodyTextSizeLimit | ) |
TInt32 aBodyTextSizeLimit |
IMPORT_C void | SetDeleteEmailsWhenDisconnecting | ( | TBool | aFlag | ) |
TBool aFlag |
IMPORT_C void | SetDisconnectedUserMode | ( | TBool | aFlag | ) |
TBool aFlag |
IMPORT_C void | SetFetchSizeL | ( | TUint | aFetchSizeBytes | ) |
TUint aFetchSizeBytes |
IMPORT_C void | SetFolderPathL | ( | const TDesC8 & | aFolderPath | ) |
const TDesC8 & aFolderPath |
IMPORT_C void | SetGetMailOptions | ( | TImap4GetMailOptions | aGetMailOptions | ) |
TImap4GetMailOptions aGetMailOptions |
IMPORT_C void | SetImapIdleTimeoutL | ( | TInt | aIdleTimeout | ) |
TInt aIdleTimeout |
IMPORT_C void | SetInboxSynchronisationLimit | ( | const TInt32 | aInboxSyncLimit | ) |
const TInt32 aInboxSyncLimit |
IMPORT_C void | SetLoginNameL | ( | const TDesC8 & | aLoginName | ) |
const TDesC8 & aLoginName |
IMPORT_C void | SetMailboxSynchronisationLimit | ( | const TInt32 | aMailboxSyncLimit | ) |
const TInt32 aMailboxSyncLimit |
IMPORT_C void | SetMaxEmailSize | ( | const TUint | aMaxEmailSize | ) |
const TUint aMaxEmailSize |
IMPORT_C void | SetPartialMailOptionsL | ( | TImImap4PartialMailOptions | aPartialMailOptions | ) |
TImImap4PartialMailOptions aPartialMailOptions |
IMPORT_C void | SetPasswordL | ( | const TDesC8 & | aPassword | ) |
const TDesC8 & aPassword |
IMPORT_C void | SetPathSeparator | ( | const TText8 | aPathSeparator | ) |
const TText8 aPathSeparator |
IMPORT_C void | SetSearchStringL | ( | const TDesC8 & | aSearchString | ) |
const TDesC8 & aSearchString |
IMPORT_C void | SetSubscribe | ( | const TFolderSubscribeType | aType | ) |
const TFolderSubscribeType aType |
IMPORT_C void | SetSynchronise | ( | const TFolderSyncType | aType | ) |
const TFolderSyncType aType |
IMPORT_C void | SetTlsSslDomainL | ( | const TDesC8 & | aDomainName | ) |
const TDesC8 & aDomainName |
IMPORT_C void | SetUseSyncDownloadRules | ( | TBool | aFlag | ) |
TBool aFlag |
IMPORT_C TBool | operator== | ( | const CImImap4Settings & | aCImImap4Settings | ) | const |
const CImImap4Settings & aCImImap4Settings |
KImap4EmailSettingsClearFlag = 0x00000000 | |
KImap4BaseEmailSettingsLastUsedFlag = CImBaseEmailSettings::EBaseEmailSettingsLastUsedFlag | |
KImap4EmailDisconnectedModeFlag = KImap4BaseEmailSettingsLastUsedFlag << 1 | |
KImap4EmailAutoSendFlag = KImap4EmailDisconnectedModeFlag << 1 | |
KImap4EmailDeleteEmailsWhenDisconnecting = KImap4EmailAutoSendFlag << 1 | |
KImap4EmailAcknowledgeReceipts = KImap4EmailDeleteEmailsWhenDisconnecting << 1 | |
KImap4EmailUpdatingSeenFlags = KImap4EmailAcknowledgeReceipts << 1 | |
KImap4EmailIdleFlag = KImap4EmailUpdatingSeenFlags << 1 | |
KImap4EmailExpungeFlag = KImap4EmailIdleFlag << 1 | |
KImap4EmailUseSyncDownloadRules = KImap4EmailExpungeFlag << 1 | |
KImap4EmailSettingsFolderSyncDisabled = KImap4EmailUseSyncDownloadRules << 1 | |
KImap4EmailSettingsLastUsedFlag = KImap4EmailSettingsFolderSyncDisabled |