class CImPop3Settings : public CImBaseEmailSettings |
Run-time configuration settings for POP3.
Messaging clients should use an instance of this class to specify and retrieve configuration settings that are used by the POP3 service when executing email operations.
Service settings such as the user name and password, whether to authenticate using APOP or plain text, the maximum size of an email to download, and the maximum number of messages to synchronise can be specified using this class. Storing and restoring from the message store is also supported.
To use this class to change a setting: 1) Set the current context to the POP3 service entry using CMsvStore. 2) Create an instance of CImPop3Settings and put it on the cleanup stack. 3) Retrieve the existing settings by calling CImPop3Settings::RestoreL(). 4) Change the inbox synchronisation limit setting by calling CImPop3Settings::SetInboxSynchronisationLimit(). 5) Save the new settings by calling CImPop3Settings::StoreL(). 6) Pop and destroy the CImPop3Settings instance.
Private Member Functions | |
---|---|
void | CheckExtensionExistsL() |
TImPop3SettingsExtension * | Extension() |
Private Member Enumerations | |
---|---|
enum | TImPop3EmailSettings { KPop3SettingsClearFlag = 0x00000000, KPop3BaseEmailSettingsLastUsedFlag = CImBaseEmailSettings::EBaseEmailSettingsLastUsedFlag, KPop3ApopFlag = KPop3BaseEmailSettingsLastUsedFlag << 1, KPop3AutoSendFlag = KPop3ApopFlag << 1, KPop3DisconnectedModeFlag = KPop3AutoSendFlag << 1, KPop3DeleteEmailsWhenDisconnectingFlag = KPop3DisconnectedModeFlag << 1, KPop3AcknowledgeReceipts = KPop3DeleteEmailsWhenDisconnectingFlag << 1, KPop3EmailSettingsLastUsedFlag = KPop3AcknowledgeReceipts } |
Inherited Enumerations | |
---|---|
CImBaseEmailSettings:TImBaseEmailSettings |
Private Attributes | |
---|---|
TImPop3SettingsExtension * | iExtension |
TPop3GetMailOptions | iGetMailOptions |
TInt32 | iInboxSyncLimit |
TInt32 | iMaxEmailSize |
Inherited Attributes | |
---|---|
CImBaseEmailSettings::iFlags | |
CImBaseEmailSettings::iPortNumber |
IMPORT_C CImPop3Settings & | CopyL | ( | const CImPop3Settings & | aCImPop3Settings | ) |
const CImPop3Settings & aCImPop3Settings |
IMPORT_C void | SetDeleteEmailsWhenDisconnecting | ( | TBool | aFlag | ) |
TBool aFlag |
IMPORT_C void | SetDisconnectedUserMode | ( | TBool | aFlag | ) |
TBool aFlag |
IMPORT_C void | SetGetMailOptions | ( | TPop3GetMailOptions | aGetMailOptions | ) |
TPop3GetMailOptions aGetMailOptions |
IMPORT_C void | SetInboxSynchronisationLimit | ( | const TInt32 | aInboxSyncLimit | ) |
const TInt32 aInboxSyncLimit |
IMPORT_C void | SetMaxEmailSize | ( | const TInt | aMaxEmailSize | ) |
const TInt aMaxEmailSize |
IMPORT_C void | SetPopulationLimitL | ( | const TInt32 | aPopulationLimit | ) |
const TInt32 aPopulationLimit |
IMPORT_C void | SetTlsSslDomainL | ( | const TDesC8 & | aDomainName | ) |
const TDesC8 & aDomainName |
IMPORT_C TBool | operator== | ( | const CImPop3Settings & | aCImPop3Settings | ) | const |
const CImPop3Settings & aCImPop3Settings |
KPop3SettingsClearFlag = 0x00000000 | |
KPop3BaseEmailSettingsLastUsedFlag = CImBaseEmailSettings::EBaseEmailSettingsLastUsedFlag | |
KPop3ApopFlag = KPop3BaseEmailSettingsLastUsedFlag << 1 | |
KPop3AutoSendFlag = KPop3ApopFlag << 1 | |
KPop3DisconnectedModeFlag = KPop3AutoSendFlag << 1 | |
KPop3DeleteEmailsWhenDisconnectingFlag = KPop3DisconnectedModeFlag << 1 | |
KPop3AcknowledgeReceipts = KPop3DeleteEmailsWhenDisconnectingFlag << 1 | |
KPop3EmailSettingsLastUsedFlag = KPop3AcknowledgeReceipts |