CEmailAccounts Class Reference

class CEmailAccounts : public CBase

Creates, loads, saves and deletes email (IMAP, POP, and SMTP) accounts.

An account encapsulates:

The class has a family of functions for each protocol to create, get, and delete accounts:

  • Create<protocol>AccountL

  • Get<protocol>AccountL

  • Get<protocol>AccountsL

  • Delete<protocol>AccountL

where <protocol> is either POP, IMAP, or SMTP. The Create and Get functions don't directly return settings objects, but only account identifiers.

Account identifiers are passed to the following functions to save and load the service and IAP settings for that account:

  • Load<protocol>SettingsL

  • Save<protocol>SettingsL

  • Load<protocol>IapSettingsL

  • Save<protocol>IapSettingsL

For SMTP only, there is a concept of a default account (as a client program may want to send an email, and not care which account is used.) SetDefaultSmtpAccountL(), DefaultSmtpAccountL() and DeleteDefaultSmtpAccountL() are used to handle this.

Note that an account is associated with a service entry in the message store, but account information itself is stored in the central repository.

Inherits from

Public Member Functions
~CEmailAccounts()
IMPORT_C TImapAccountCreateImapAccountL(const TDesC &, const CImImap4Settings &, const CImIAPPreferences &, TBool)
IMPORT_C TImapAccountCreateImapAccountL(const TDesC &, const CImImap4Settings &, const CImIAPPreferences &, const CImapSyncDownloadRules &, TBool)
IMPORT_C TPopAccountCreatePopAccountL(const TDesC &, const CImPop3Settings &, const CImIAPPreferences &, TBool)
IMPORT_C TSmtpAccountCreateSmtpAccountL(TPopAccount &, const CImSmtpSettings &, const CImIAPPreferences &, TBool)
IMPORT_C TSmtpAccountCreateSmtpAccountL(TImapAccount &, const CImSmtpSettings &, const CImIAPPreferences &, TBool)
IMPORT_C TSmtpAccountCreateSmtpAccountL(const TDesC &, const CImSmtpSettings &, const CImIAPPreferences &, TBool)
IMPORT_C TSmtpMobilityAccountCreateSmtpMobilityAccountL(const TDesC &, const RArrayIAP &, const TSmtpAccount &, const CImSmtpMobilitySettings &, TBool)
IMPORT_C TSmtpMobilityAccountCreateSmtpMobilityAccountL(const TDesC &, const RArrayIAP &, const TSmtpAccount &, const TSmtpAccount &, TBool)
IMPORT_C TIntDefaultSmtpAccountL(TSmtpAccount &)
IMPORT_C voidDeleteDefaultSmtpAccountL()
IMPORT_C voidDeleteImapAccountL(const TImapAccount &)
IMPORT_C voidDeleteImapTransportBufferSizesL()
IMPORT_C voidDeletePopAccountL(const TPopAccount &)
IMPORT_C voidDeleteSmtpAccountL(const TSmtpAccount &)
IMPORT_C voidDeleteSmtpMobilityAccountL(const TSmtpMobilityAccount &)
IMPORT_C voidGetImapAccountL(TMsvId, TImapAccount &)
IMPORT_C voidGetImapAccountsL(RArray< TImapAccount > &)
IMPORT_C voidGetPopAccountL(TMsvId, TPopAccount &)
IMPORT_C voidGetPopAccountsL(RArray< TPopAccount > &)
IMPORT_C voidGetSmtpAccountL(TMsvId, TSmtpAccount &)
IMPORT_C voidGetSmtpAccountL(TSmtpAccountId, TSmtpAccount &)
IMPORT_C voidGetSmtpAccountsL(RArray< TSmtpAccount > &)
IMPORT_C voidGetSmtpMobilityAccountsL(const TSmtpAccount &, RArray< TSmtpMobilityAccount > &)
IMPORT_C voidGetSmtpMobilityAccountsL(RArray< TSmtpMobilityAccount > &)
IMPORT_C TBoolIsAccountReadOnlyL(const TPopAccount &)
IMPORT_C TBoolIsAccountReadOnlyL(const TImapAccount &)
IMPORT_C TBoolIsAccountReadOnlyL(const TSmtpAccount &)
IMPORT_C TBoolIsAccountReadOnlyL(const TSmtpMobilityAccount &)
IMPORT_C voidLoadImapIapSettingsL(const TImapAccount &, CImIAPPreferences &)
IMPORT_C voidLoadImapSettingsL(const TImapAccount &, CImImap4Settings &)
IMPORT_C voidLoadImapSyncDownloadRulesL(const TImapAccount &, CImapSyncDownloadRules &)
IMPORT_C voidLoadImapTransportBufferSizesL(CImapTransportBufferSizes &)
IMPORT_C voidLoadPopIapSettingsL(const TPopAccount &, CImIAPPreferences &)
IMPORT_C voidLoadPopSettingsL(const TPopAccount &, CImPop3Settings &)
IMPORT_C voidLoadSmtpIapSettingsL(const TSmtpAccount &, CImIAPPreferences &)
IMPORT_C voidLoadSmtpMobilityAccountIapListL(const TSmtpMobilityAccount &, RArrayIAP &)
IMPORT_C voidLoadSmtpMobilitySettingsL(const TSmtpMobilityAccount &, CImSmtpMobilitySettings &)
IMPORT_C TBoolLoadSmtpMobilitySettingsL(TSmtpAccountId &, TUint32, CImSmtpMobilitySettings &)
IMPORT_C voidLoadSmtpSettingsL(const TSmtpAccount &, CImSmtpSettings &)
IMPORT_C CEmailAccounts *NewL()
IMPORT_C CEmailAccounts *NewLC()
IMPORT_C voidPopulateDefaultImapSettingsL(CImImap4Settings &, CImIAPPreferences &)
IMPORT_C voidPopulateDefaultPopSettingsL(CImPop3Settings &, CImIAPPreferences &)
IMPORT_C voidPopulateDefaultSmtpMobilitySettingsL(CImSmtpMobilitySettings &)
IMPORT_C voidPopulateDefaultSmtpSettingsL(CImSmtpSettings &, CImIAPPreferences &)
IMPORT_C voidSaveImapIapSettingsL(const TImapAccount &, const CImIAPPreferences &)
IMPORT_C voidSaveImapSettingsL(const TImapAccount &, const CImImap4Settings &)
IMPORT_C voidSaveImapSyncDownloadRulesL(const TImapAccount &, const CImapSyncDownloadRules &)
IMPORT_C voidSaveImapTransportBufferSizesL(const CImapTransportBufferSizes &)
IMPORT_C voidSavePopIapSettingsL(const TPopAccount &, const CImIAPPreferences &)
IMPORT_C voidSavePopSettingsL(const TPopAccount &, const CImPop3Settings &)
IMPORT_C voidSaveSmtpIapSettingsL(const TSmtpAccount &, const CImIAPPreferences &)
IMPORT_C voidSaveSmtpMobilityAccountIapListL(const TSmtpMobilityAccount &, const RArrayIAP &)
IMPORT_C voidSaveSmtpMobilitySettingsL(const TSmtpMobilityAccount &, const CImSmtpMobilitySettings &)
IMPORT_C voidSaveSmtpSettingsL(const TSmtpAccount &, const CImSmtpSettings &)
IMPORT_C voidSetDefaultSmtpAccountL(const TSmtpAccount &)
Private Member Functions
CEmailAccounts()
voidAddLinkToMobilityAccountL(TSmtpAccountId, TUint32, CRepository &)
voidAddMobilityAccountToSmtpAccountL(const TSmtpAccount &, const RArrayIAP &, TUint32, CRepository &)
TMsvId CreateEmailServiceL(CMsvEntry &, const TDesC &, TUid, TBool)
TImapAccount CreateImapAccountL(const TDesC &, const CImImap4Settings &, const CImIAPPreferences &, const CImapSyncDownloadRules *, TBool)
voidDeleteAllLinkedMobilityAccountsL(TUint32, CRepository &)
voidDeleteAllOwnedMobilityAccountsL(TUint32, CRepository &)
voidDeleteIAPPrefSettingsL(TUint32, CRepository &)
voidDeleteImapSettings(TUint32, CRepository &)
voidDeleteImapSyncDownloadRulesL(TUint32, CRepository &)
voidDeletePopSettings(TUint32, CRepository &)
voidDeleteServiceEntryL(CMsvEntry &, TMsvId)
voidDeleteSmtpMobilityAccountFromLinkedSmtpAccountL(TUint32, CRepository &)
voidDeleteSmtpMobilityAccountListEntryL(TUint32, CRepository &, TUint32)
voidDeleteSmtpSettings(TUint32, CRepository &)
TUint32 DoCreateImapAccountL(const TDesC &, const CImImap4Settings &, const CImIAPPreferences &, const CImapSyncDownloadRules *, TMsvId, TMsvId, TBool)
TUint32 DoCreatePopAccountL(const TDesC &, const CImPop3Settings &, const CImIAPPreferences &, TMsvId, TMsvId, TBool)
TUint32 DoCreateSmtpAccountL(TPopAccount &, const CImSmtpSettings &, const CImIAPPreferences &, TMsvId, CMsvEntry &, TUint32 &, TBool)
TUint32 DoCreateSmtpAccountL(TImapAccount &, const CImSmtpSettings &, const CImIAPPreferences &, TMsvId, CMsvEntry &, TUint32 &, TBool)
TUint32 DoCreateSmtpAccountL(const TDesC &, const CImSmtpSettings &, const CImIAPPreferences &, TMsvId, TMsvId, TBool)
TSmtpMobilityAccount DoCreateSmtpMobilityAccountL(const TDesC &, const RArrayIAP &, const CImSmtpMobilitySettings &, const TSmtpAccount &, TSmtpAccountId, TBool)
voidDoLoadImapSettingsL(TUint32, CImImap4Settings &)
voidDoLoadPopSettingsL(TUint32, CImPop3Settings &)
voidDoLoadSmtpSettingsL(TUint32, CImSmtpSettings &)
voidDoSaveImapSettingsL(TUint32, const CImImap4Settings &)
voidDoSaveImapSyncDownloadRulesL(TUint32, const CImapSyncDownloadRules &, CRepository &)
voidDoSavePopSettingsL(TUint32, const CImPop3Settings &)
voidDoSaveSmtpSettingsL(TUint32, const CImSmtpSettings &)
TInt FindAccountIdInSmtpMobilityAccountListL(TUint32, CRepository &, TUint32, TInt)
TUint32 FindEmailAccountL(TMsvId, CRepository &)
TInt FindIapListEntryInSmtpMobilityAccountListL(const RArrayIAP &, CRepository &, TUint32, TInt, TInt)
voidGetEmailServicesL(CMsvEntrySelection &, TUid, CMsvEntry &)
TUint GetNextEmptyAccountSlotL(CRepository &)
voidGetSmtpAccountInfoForMobilityAccountL(TUint32, CRepository &, TUint32 &, TInt &)
voidHandleSessionEventL(TMsvSessionEvent, TAny *, TAny *, TAny *)
CRepository &ImapRepositoryL()
TBool IsAsciiPrintable(const TDesC16 &)
TBool IsAsciiPrintable(const TDesC8 &)
TBool IsSmtpMobilityAccount(CRepository &, TUint32)
TBool IsSmtpTypeAccountReadOnlyL(TUint32)
TBool IsUnicodePrintable(const TDesC16 &)
voidLoadIAPPrefSettingsL(TUint32, CImIAPPreferences &, CRepository &)
CRepository &PopRepositoryL()
voidSaveIAPPrefSettingsL(TUint32, const CImIAPPreferences &, CRepository &)
CMsvSession &SessionL()
voidSetEntryDetailsL(TMsvId, const TDesC &)
voidSetRelatedIdL(CMsvEntry &, TMsvId, TMsvId)
CRepository &SmtpRepositoryL()
voidUnSetInPreparationFlagsL(CMsvEntry &, TMsvId, TInt)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Member Enumerations
enumTEmailSettingTypes { EServiceSettingType = 0x00000000, EIAPPrefSettingType = 0x00010000, EAccountMask = 0x800FFFFF }
enumTIAPPreferencesCenRepId { EIAPPrefVersion = 0x00010000, EIAPChoicesCount = 0x00010001, EIAPListIDs = 0x00011000, EIAPListDialogPrefs = 0x00012000, EIAPSnapId = 0x00014000 }
enumTIMAPServiceSettingsCenRepId {
EIMAPServiceId = 0x00000000, EIMAPAccountNameId = 0x00000001, EIMAPRelatedSMTPServiceId = 0x00000002, EIMAPSettingsVersionId = 0x00000003, EIMAPServerAddressId = 0x00000004, EIMAPPortNumberId = 0x00000005, EIMAPFlagsId = 0x00000006, EIMAPLoginNameId = 0x00000007, EIMAPPasswordId = 0x00000008, EIMAPFolderPathId = 0x00000009, EIMAPPathSeparatorId = 0x0000000A, EIMAPSynchronisationStrategyId = 0x0000000B, EIMAPSubscriptionStrategyId = 0x0000000C, EIMAPMaxEmailSizeId = 0x0000000D, EIMAPGetMailOptionsId = 0x0000000E, EIMAPInboxSynchronisationLimitId = 0x0000000F, EIMAPMailboxSynchronisationLimitId = 0x00000010, EIMAPTlsSslDomainId = 0x00000012, EIMAPSyncRateId = 0x00000020, EIMAPFetchSizeId = 0x00000030, EIMAPIdleTimeoutId = 0x00000040, EPartialMailOptionsId = 0x00000050, EBodyTextSizeLimitId = 0x00000060, EAttachmentSizeLimitId = 0x00000070, EIMAPSearchStringId = 0x00000080, EIMAPReadOnlyAccountId = 0x00000090
}
enumTIMAPSyncDownloadRulesCenRepInfo {
EIMAPSyncDownloadRulesVersionId = 0x00001000, EIMAPNumInboxSyncDownloadRulesId = 0x00001001, EIMAPNumFolderSyncDownloadRulesId = 0x00001002, EIMAPInboxSyncDownloadRulesBearerTypesId = 0x00001010, EIMAPInboxSyncDownloadRulesMailOptionsId = 0x00001011, EIMAPInboxSyncDownloadRulesTotalSizeLimitId = 0x00001012, EIMAPInboxSyncDownloadRulesBodyTextSizeLimitId = 0x00001013, EIMAPInboxSyncDownloadRulesAttachmentSizeLimitId = 0x00001014, EIMAPInboxSyncDownloadRulesGetMailBodyPartsId = 0x00001015, EIMAPInboxSyncDownloadRulesMaxEmailSizeId = 0x00001016, EIMAPFolderSyncDownloadRulesBearerTypesId = 0x00001030, EIMAPFolderSyncDownloadRulesMailOptionsId = 0x00001031, EIMAPFolderSyncDownloadRulesTotalSizeLimitId = 0x00001032, EIMAPFolderSyncDownloadRulesBodyTextSizeLimitId = 0x00001033, EIMAPFolderSyncDownloadRulesAttachmentSizeLimitId = 0x00001034, EIMAPFolderSyncDownloadRulesGetMailBodyPartsId = 0x00001035, EIMAPFolderSyncDownloadRulesMaxEmailSizeId = 0x00001036, EIMAPSyncDownloadRulesOffset = 0x40
}
enumTIMAPTransportBufferSizesCenRepInfo {
EIMAPTransportBufferSizesVersionId = 0x80000100, EIMAPNumTransportBufferSizesId = 0x80000101, EIMAPTransportBufferSizesBearerTypesId = 0x80000110, EIMAPTransportBufferSizesFetchRequestSizeId = 0x80000111, EIMAPTransportBufferSizesMaxOutstandingFetchResponsesId = 0x80000112, EIMAPTransportBufferSizesOffset = 0x20
}
enumTPOPServiceSettingsCenRepId {
EPOPServiceId = 0x00000000, EPOPAccountNameId = 0x00000001, EPOPRelatedSMTPServiceId = 0x00000002, EPOPSettingsVersionId = 0x00000003, EPOPServerAddressId = 0x00000004, EPOPPortNumberId = 0x00000005, EPOPFlagsId = 0x00000006, EPOPLoginNameId = 0x00000007, EPOPPasswordId = 0x00000008, EPOPMaxEmailSizeId = 0x00000009, EPOPGetEmailOptionsId = 0x0000000A, EPOPInboxSynchronisationLimitId = 0x0000000B, EPOPPopulationLimitId = 0x0000000C, EPOPReadOnlyAccountId = 0x0000000D, EPOPTlsSslDomainId = 0x0000000F
}
enumTSMTPLinkedMobilityAccountListCenRepInfo { ESMTPLinkedMobilityAccountListVersionId = 0x00015000, ESMTPLinkedMobilityAccountListNumEntriesId = 0x00015001, ESMTPLinkedMobilityAccountListEntryId = 0x00015010, ESMTPLinkedMobilityAccountListMaxEntries = 2048 }
enumTSMTPMobilityAccountListCenRepInfo {
ESMTPMobilityAccountListVersionId = 0x00016000, ESMTPMobilityAccountListNumEntriesId = 0x00016001, ESMTPMobilityAccountListAccountId = 0x00016010, ESMTPMobilityAccountListNumIapsId = 0x00016011, ESMTPMobilityAccountListIapId = 0x00016020, ESMTPMobilityAccountListOffset = 0x40, ESMTPMobilityAccountMaxEntries = 32
}
enumTSMTPServiceSettingsCenRepId {
ESMTPServiceId = 0x00000000, ESMTPAccountNameId = 0x00000001, ESMTPSettingsVersionId = 0x00000002, ESMTPServerAddressId = 0x00000003, ESMTPPortNumberId = 0x00000004, ESMTPFlagsId = 0x00000005, ESMTPEmailAliasId = 0x00000006, ESMTPEmailAddressId = 0x00000007, ESMTPReplyToAddressId = 0x00000008, ESMTPReceiptAddressId = 0x00000009, ESMTPBodyEncodingId = 0x0000000A, ESMTPDefaultMsgCharSetId = 0x0000000B, ESMTPSendCopyToSelfId = 0x0000000C, ESMTPSendMessageOptionId = 0x0000000D, ESMTPLoginNameId = 0x0000000E, ESMTPPasswordId = 0x0000000F, ESMTPRelatedServiceId = 0x00000010, ESMTPIncludeToCcId = 0x00000011, ESMTPReadOnlyAccountId = 0x00000012, ESMTPParentAccountId = 0x00000013, ESMTPTlsSslDomainId = 0x00000014, ESMTPLinkedAccountId = 0x00000015
}
Private Attributes
CRepository *iIMAPRepository
CMsvSession *iMsvSession
CRepository *iPOPRepository
CRepository *iSMTPRepository

Constructor & Destructor Documentation

CEmailAccounts()

CEmailAccounts()[private]

~CEmailAccounts()

IMPORT_C~CEmailAccounts()[virtual]

Member Functions Documentation

AddLinkToMobilityAccountL(TSmtpAccountId, TUint32, CRepository &)

voidAddLinkToMobilityAccountL(TSmtpAccountIdaLinkedSmtpAccountId,
TUint32aMobAccRepId,
CRepository &aRepository
)[private]

Parameters

TSmtpAccountId aLinkedSmtpAccountId
TUint32 aMobAccRepId
CRepository & aRepository

AddMobilityAccountToSmtpAccountL(const TSmtpAccount &, const RArrayIAP &, TUint32, CRepository &)

voidAddMobilityAccountToSmtpAccountL(const TSmtpAccount &aSmtpAccount,
const RArrayIAP &aIapList,
TUint32aMobAccRepId,
CRepository &aRepository
)[private]

Parameters

const TSmtpAccount & aSmtpAccount
const RArrayIAP & aIapList
TUint32 aMobAccRepId
CRepository & aRepository

CreateEmailServiceL(CMsvEntry &, const TDesC &, TUid, TBool)

TMsvId CreateEmailServiceL(CMsvEntry &aMsvEntry,
const TDesC &aAccountName,
TUidaMTMType,
TBoolaVisible
)[private]

Parameters

CMsvEntry & aMsvEntry
const TDesC & aAccountName
TUid aMTMType
TBool aVisible

CreateImapAccountL(const TDesC &, const CImImap4Settings &, const CImIAPPreferences &, TBool)

IMPORT_C TImapAccountCreateImapAccountL(const TDesC &aAccountName,
const CImImap4Settings &aImapSettings,
const CImIAPPreferences &aImapIAP,
TBoolaReadOnly
)

Parameters

const TDesC & aAccountName
const CImImap4Settings & aImapSettings
const CImIAPPreferences & aImapIAP
TBool aReadOnly

CreateImapAccountL(const TDesC &, const CImImap4Settings &, const CImIAPPreferences &, const CImapSyncDownloadRules &, TBool)

IMPORT_C TImapAccountCreateImapAccountL(const TDesC &aAccountName,
const CImImap4Settings &aImapSettings,
const CImIAPPreferences &aImapIAP,
const CImapSyncDownloadRules &aSyncDownloadRules,
TBoolaReadOnly
)

Parameters

const TDesC & aAccountName
const CImImap4Settings & aImapSettings
const CImIAPPreferences & aImapIAP
const CImapSyncDownloadRules & aSyncDownloadRules
TBool aReadOnly

CreateImapAccountL(const TDesC &, const CImImap4Settings &, const CImIAPPreferences &, const CImapSyncDownloadRules *, TBool)

TImapAccount CreateImapAccountL(const TDesC &aAccountName,
const CImImap4Settings &aImapSettings,
const CImIAPPreferences &aImapIAP,
const CImapSyncDownloadRules *aSyncDownloadRules,
TBoolaReadOnly
)[private]

Parameters

const TDesC & aAccountName
const CImImap4Settings & aImapSettings
const CImIAPPreferences & aImapIAP
const CImapSyncDownloadRules * aSyncDownloadRules
TBool aReadOnly

CreatePopAccountL(const TDesC &, const CImPop3Settings &, const CImIAPPreferences &, TBool)

IMPORT_C TPopAccountCreatePopAccountL(const TDesC &aAccountName,
const CImPop3Settings &aPopSettings,
const CImIAPPreferences &aPopIAP,
TBoolaReadOnly
)

Parameters

const TDesC & aAccountName
const CImPop3Settings & aPopSettings
const CImIAPPreferences & aPopIAP
TBool aReadOnly

CreateSmtpAccountL(TPopAccount &, const CImSmtpSettings &, const CImIAPPreferences &, TBool)

IMPORT_C TSmtpAccountCreateSmtpAccountL(TPopAccount &aPopAccount,
const CImSmtpSettings &aSmtpSettings,
const CImIAPPreferences &aSmtpIAP,
TBoolaReadOnly
)

Parameters

TPopAccount & aPopAccount
const CImSmtpSettings & aSmtpSettings
const CImIAPPreferences & aSmtpIAP
TBool aReadOnly

CreateSmtpAccountL(TImapAccount &, const CImSmtpSettings &, const CImIAPPreferences &, TBool)

IMPORT_C TSmtpAccountCreateSmtpAccountL(TImapAccount &aImapAccount,
const CImSmtpSettings &aSmtpSettings,
const CImIAPPreferences &aSmtpIAP,
TBoolaReadOnly
)

Parameters

TImapAccount & aImapAccount
const CImSmtpSettings & aSmtpSettings
const CImIAPPreferences & aSmtpIAP
TBool aReadOnly

CreateSmtpAccountL(const TDesC &, const CImSmtpSettings &, const CImIAPPreferences &, TBool)

IMPORT_C TSmtpAccountCreateSmtpAccountL(const TDesC &aAccountName,
const CImSmtpSettings &aSmtpSettings,
const CImIAPPreferences &aSmtpIAP,
TBoolaReadOnly
)

Parameters

const TDesC & aAccountName
const CImSmtpSettings & aSmtpSettings
const CImIAPPreferences & aSmtpIAP
TBool aReadOnly

CreateSmtpMobilityAccountL(const TDesC &, const RArrayIAP &, const TSmtpAccount &, const CImSmtpMobilitySettings &, TBool)

IMPORT_C TSmtpMobilityAccountCreateSmtpMobilityAccountL(const TDesC &aAccountName,
const RArrayIAP &aIapList,
const TSmtpAccount &aSmtpAccount,
const CImSmtpMobilitySettings &aSettings,
TBoolaReadOnly
)

Parameters

const TDesC & aAccountName
const RArrayIAP & aIapList
const TSmtpAccount & aSmtpAccount
const CImSmtpMobilitySettings & aSettings
TBool aReadOnly

CreateSmtpMobilityAccountL(const TDesC &, const RArrayIAP &, const TSmtpAccount &, const TSmtpAccount &, TBool)

IMPORT_C TSmtpMobilityAccountCreateSmtpMobilityAccountL(const TDesC &aAccountName,
const RArrayIAP &aIapList,
const TSmtpAccount &aSmtpAccount,
const TSmtpAccount &aLinkedSmtpAccount,
TBoolaReadOnly
)

Parameters

const TDesC & aAccountName
const RArrayIAP & aIapList
const TSmtpAccount & aSmtpAccount
const TSmtpAccount & aLinkedSmtpAccount
TBool aReadOnly

DefaultSmtpAccountL(TSmtpAccount &)

IMPORT_C TIntDefaultSmtpAccountL(TSmtpAccount &aAccount)

Parameters

TSmtpAccount & aAccount

DeleteAllLinkedMobilityAccountsL(TUint32, CRepository &)

voidDeleteAllLinkedMobilityAccountsL(TUint32aLinkedSmtpAccRepId,
CRepository &aRepository
)[private]

Parameters

TUint32 aLinkedSmtpAccRepId
CRepository & aRepository

DeleteAllOwnedMobilityAccountsL(TUint32, CRepository &)

voidDeleteAllOwnedMobilityAccountsL(TUint32aSmtpAccRepId,
CRepository &aRepository
)[private]

Parameters

TUint32 aSmtpAccRepId
CRepository & aRepository

DeleteDefaultSmtpAccountL()

IMPORT_C voidDeleteDefaultSmtpAccountL()

DeleteIAPPrefSettingsL(TUint32, CRepository &)

voidDeleteIAPPrefSettingsL(TUint32aAccountId,
CRepository &aRepository
)[private]

Parameters

TUint32 aAccountId
CRepository & aRepository

DeleteImapAccountL(const TImapAccount &)

IMPORT_C voidDeleteImapAccountL(const TImapAccount &aAccount)

Parameters

const TImapAccount & aAccount

DeleteImapSettings(TUint32, CRepository &)

voidDeleteImapSettings(TUint32aAccountId,
CRepository &aRepository
)[private]

Parameters

TUint32 aAccountId
CRepository & aRepository

DeleteImapSyncDownloadRulesL(TUint32, CRepository &)

voidDeleteImapSyncDownloadRulesL(TUint32aAccountId,
CRepository &aRepository
)[private]

Parameters

TUint32 aAccountId
CRepository & aRepository

DeleteImapTransportBufferSizesL()

IMPORT_C voidDeleteImapTransportBufferSizesL()

DeletePopAccountL(const TPopAccount &)

IMPORT_C voidDeletePopAccountL(const TPopAccount &aAccount)

Parameters

const TPopAccount & aAccount

DeletePopSettings(TUint32, CRepository &)

voidDeletePopSettings(TUint32aAccountId,
CRepository &aRepository
)[private]

Parameters

TUint32 aAccountId
CRepository & aRepository

DeleteServiceEntryL(CMsvEntry &, TMsvId)

voidDeleteServiceEntryL(CMsvEntry &aMsvEntry,
TMsvIdaId
)[private]

Parameters

CMsvEntry & aMsvEntry
TMsvId aId

DeleteSmtpAccountL(const TSmtpAccount &)

IMPORT_C voidDeleteSmtpAccountL(const TSmtpAccount &aAccount)

Parameters

const TSmtpAccount & aAccount

DeleteSmtpMobilityAccountFromLinkedSmtpAccountL(TUint32, CRepository &)

voidDeleteSmtpMobilityAccountFromLinkedSmtpAccountL(TUint32aMobAccRepId,
CRepository &aRepository
)[private]

Parameters

TUint32 aMobAccRepId
CRepository & aRepository

DeleteSmtpMobilityAccountL(const TSmtpMobilityAccount &)

IMPORT_C voidDeleteSmtpMobilityAccountL(const TSmtpMobilityAccount &aAccount)

Parameters

const TSmtpMobilityAccount & aAccount

DeleteSmtpMobilityAccountListEntryL(TUint32, CRepository &, TUint32)

voidDeleteSmtpMobilityAccountListEntryL(TUint32aMobAccRepId,
CRepository &aRepository,
TUint32aSmtpAccRepId
)[private]

Parameters

TUint32 aMobAccRepId
CRepository & aRepository
TUint32 aSmtpAccRepId

DeleteSmtpSettings(TUint32, CRepository &)

voidDeleteSmtpSettings(TUint32aAccountId,
CRepository &aRepository
)[private]

Parameters

TUint32 aAccountId
CRepository & aRepository

DoCreateImapAccountL(const TDesC &, const CImImap4Settings &, const CImIAPPreferences &, const CImapSyncDownloadRules *, TMsvId, TMsvId, TBool)

TUint32 DoCreateImapAccountL(const TDesC &aAccountName,
const CImImap4Settings &aImapSettings,
const CImIAPPreferences &aImapIAP,
const CImapSyncDownloadRules *aSyncDownloadRules,
TMsvIdaImapService,
TMsvIdaRelatedService,
TBoolaReadOnly
)[private]

Parameters

const TDesC & aAccountName
const CImImap4Settings & aImapSettings
const CImIAPPreferences & aImapIAP
const CImapSyncDownloadRules * aSyncDownloadRules
TMsvId aImapService
TMsvId aRelatedService
TBool aReadOnly

DoCreatePopAccountL(const TDesC &, const CImPop3Settings &, const CImIAPPreferences &, TMsvId, TMsvId, TBool)

TUint32 DoCreatePopAccountL(const TDesC &aAccountName,
const CImPop3Settings &aPopSettings,
const CImIAPPreferences &aPopIAP,
TMsvIdaPopService,
TMsvIdaRelatedService,
TBoolaReadOnly
)[private]

Parameters

const TDesC & aAccountName
const CImPop3Settings & aPopSettings
const CImIAPPreferences & aPopIAP
TMsvId aPopService
TMsvId aRelatedService
TBool aReadOnly

DoCreateSmtpAccountL(TPopAccount &, const CImSmtpSettings &, const CImIAPPreferences &, TMsvId, CMsvEntry &, TUint32 &, TBool)

TUint32 DoCreateSmtpAccountL(TPopAccount &aPopAccount,
const CImSmtpSettings &aSmtpSettings,
const CImIAPPreferences &aSmtpIAP,
TMsvIdaSmtpService,
CMsvEntry &aMsvEntry,
TUint32 &aPopAccountId,
TBoolaReadOnly
)[private]

Parameters

TPopAccount & aPopAccount
const CImSmtpSettings & aSmtpSettings
const CImIAPPreferences & aSmtpIAP
TMsvId aSmtpService
CMsvEntry & aMsvEntry
TUint32 & aPopAccountId
TBool aReadOnly

DoCreateSmtpAccountL(TImapAccount &, const CImSmtpSettings &, const CImIAPPreferences &, TMsvId, CMsvEntry &, TUint32 &, TBool)

TUint32 DoCreateSmtpAccountL(TImapAccount &aImapAccount,
const CImSmtpSettings &aSmtpSettings,
const CImIAPPreferences &aSmtpIAP,
TMsvIdaSmtpService,
CMsvEntry &aMsvEntry,
TUint32 &aImapAccountId,
TBoolaReadOnly
)[private]

Parameters

TImapAccount & aImapAccount
const CImSmtpSettings & aSmtpSettings
const CImIAPPreferences & aSmtpIAP
TMsvId aSmtpService
CMsvEntry & aMsvEntry
TUint32 & aImapAccountId
TBool aReadOnly

DoCreateSmtpAccountL(const TDesC &, const CImSmtpSettings &, const CImIAPPreferences &, TMsvId, TMsvId, TBool)

TUint32 DoCreateSmtpAccountL(const TDesC &aAccountName,
const CImSmtpSettings &aSmtpSettings,
const CImIAPPreferences &aSmtpIAP,
TMsvIdaSmtpService,
TMsvIdaRelatedService,
TBoolaReadOnly
)[private]

Parameters

const TDesC & aAccountName
const CImSmtpSettings & aSmtpSettings
const CImIAPPreferences & aSmtpIAP
TMsvId aSmtpService
TMsvId aRelatedService
TBool aReadOnly

DoCreateSmtpMobilityAccountL(const TDesC &, const RArrayIAP &, const CImSmtpMobilitySettings &, const TSmtpAccount &, TSmtpAccountId, TBool)

TSmtpMobilityAccount DoCreateSmtpMobilityAccountL(const TDesC &aAccountName,
const RArrayIAP &aIapList,
const CImSmtpMobilitySettings &aSettings,
const TSmtpAccount &aSmtpAccount,
TSmtpAccountIdaLinkedSmtpAccountId,
TBoolaReadOnly
)[private]

Parameters

const TDesC & aAccountName
const RArrayIAP & aIapList
const CImSmtpMobilitySettings & aSettings
const TSmtpAccount & aSmtpAccount
TSmtpAccountId aLinkedSmtpAccountId
TBool aReadOnly

DoLoadImapSettingsL(TUint32, CImImap4Settings &)

voidDoLoadImapSettingsL(TUint32aAccountId,
CImImap4Settings &aImapSettings
)[private]

Parameters

TUint32 aAccountId
CImImap4Settings & aImapSettings

DoLoadPopSettingsL(TUint32, CImPop3Settings &)

voidDoLoadPopSettingsL(TUint32aAccountId,
CImPop3Settings &aPopSettings
)[private]

Parameters

TUint32 aAccountId
CImPop3Settings & aPopSettings

DoLoadSmtpSettingsL(TUint32, CImSmtpSettings &)

voidDoLoadSmtpSettingsL(TUint32aAccountId,
CImSmtpSettings &aSmtpSettings
)[private]

Parameters

TUint32 aAccountId
CImSmtpSettings & aSmtpSettings

DoSaveImapSettingsL(TUint32, const CImImap4Settings &)

voidDoSaveImapSettingsL(TUint32aAccountId,
const CImImap4Settings &aImapSettings
)[private]

Parameters

TUint32 aAccountId
const CImImap4Settings & aImapSettings

DoSaveImapSyncDownloadRulesL(TUint32, const CImapSyncDownloadRules &, CRepository &)

voidDoSaveImapSyncDownloadRulesL(TUint32aAccountId,
const CImapSyncDownloadRules &aRules,
CRepository &aRepository
)[private]

Parameters

TUint32 aAccountId
const CImapSyncDownloadRules & aRules
CRepository & aRepository

DoSavePopSettingsL(TUint32, const CImPop3Settings &)

voidDoSavePopSettingsL(TUint32aAccountId,
const CImPop3Settings &aPopSettings
)[private]

Parameters

TUint32 aAccountId
const CImPop3Settings & aPopSettings

DoSaveSmtpSettingsL(TUint32, const CImSmtpSettings &)

voidDoSaveSmtpSettingsL(TUint32aAccountId,
const CImSmtpSettings &aSmtpSettings
)[private]

Parameters

TUint32 aAccountId
const CImSmtpSettings & aSmtpSettings

FindAccountIdInSmtpMobilityAccountListL(TUint32, CRepository &, TUint32, TInt)

TInt FindAccountIdInSmtpMobilityAccountListL(TUint32aMobAccRepId,
CRepository &aRepository,
TUint32aSmtpAccRepId,
TIntaNumEntries
)[private]

Parameters

TUint32 aMobAccRepId
CRepository & aRepository
TUint32 aSmtpAccRepId
TInt aNumEntries

FindEmailAccountL(TMsvId, CRepository &)

TUint32 FindEmailAccountL(TMsvIdaService,
CRepository &aRepository
)[private]

Parameters

TMsvId aService
CRepository & aRepository

FindIapListEntryInSmtpMobilityAccountListL(const RArrayIAP &, CRepository &, TUint32, TInt, TInt)

TInt FindIapListEntryInSmtpMobilityAccountListL(const RArrayIAP &aIapList,
CRepository &aRepository,
TUint32aSmtpAccRepId,
TIntaNumEntries,
TIntaIgnorePos
)[private]

Parameters

const RArrayIAP & aIapList
CRepository & aRepository
TUint32 aSmtpAccRepId
TInt aNumEntries
TInt aIgnorePos

GetEmailServicesL(CMsvEntrySelection &, TUid, CMsvEntry &)

voidGetEmailServicesL(CMsvEntrySelection &aServices,
TUidaMTMType,
CMsvEntry &aMsvEntry
)[private]

Parameters

CMsvEntrySelection & aServices
TUid aMTMType
CMsvEntry & aMsvEntry

GetImapAccountL(TMsvId, TImapAccount &)

IMPORT_C voidGetImapAccountL(TMsvIdaServiceId,
TImapAccount &aAccount
)

Parameters

TMsvId aServiceId
TImapAccount & aAccount

GetImapAccountsL(RArray< TImapAccount > &)

IMPORT_C voidGetImapAccountsL(RArray< TImapAccount > &aAccounts)

Parameters

RArray< TImapAccount > & aAccounts

GetNextEmptyAccountSlotL(CRepository &)

TUint GetNextEmptyAccountSlotL(CRepository &aRepository)[private]

Parameters

CRepository & aRepository

GetPopAccountL(TMsvId, TPopAccount &)

IMPORT_C voidGetPopAccountL(TMsvIdaServiceId,
TPopAccount &aAccount
)

Parameters

TMsvId aServiceId
TPopAccount & aAccount

GetPopAccountsL(RArray< TPopAccount > &)

IMPORT_C voidGetPopAccountsL(RArray< TPopAccount > &aAccounts)

Parameters

RArray< TPopAccount > & aAccounts

GetSmtpAccountInfoForMobilityAccountL(TUint32, CRepository &, TUint32 &, TInt &)

voidGetSmtpAccountInfoForMobilityAccountL(TUint32aMobAccRepId,
CRepository &aRepository,
TUint32 &aSmtpAccRepId,
TInt &aPos
)[private]

Parameters

TUint32 aMobAccRepId
CRepository & aRepository
TUint32 & aSmtpAccRepId
TInt & aPos

GetSmtpAccountL(TMsvId, TSmtpAccount &)

IMPORT_C voidGetSmtpAccountL(TMsvIdaServiceId,
TSmtpAccount &aAccount
)

Parameters

TMsvId aServiceId
TSmtpAccount & aAccount

GetSmtpAccountL(TSmtpAccountId, TSmtpAccount &)

IMPORT_C voidGetSmtpAccountL(TSmtpAccountIdaAccountId,
TSmtpAccount &aAccount
)

Parameters

TSmtpAccountId aAccountId
TSmtpAccount & aAccount

GetSmtpAccountsL(RArray< TSmtpAccount > &)

IMPORT_C voidGetSmtpAccountsL(RArray< TSmtpAccount > &aAccounts)

Parameters

RArray< TSmtpAccount > & aAccounts

GetSmtpMobilityAccountsL(const TSmtpAccount &, RArray< TSmtpMobilityAccount > &)

IMPORT_C voidGetSmtpMobilityAccountsL(const TSmtpAccount &aSmtpAccount,
RArray< TSmtpMobilityAccount > &aAccounts
)

Parameters

const TSmtpAccount & aSmtpAccount
RArray< TSmtpMobilityAccount > & aAccounts

GetSmtpMobilityAccountsL(RArray< TSmtpMobilityAccount > &)

IMPORT_C voidGetSmtpMobilityAccountsL(RArray< TSmtpMobilityAccount > &aAccounts)

Parameters

RArray< TSmtpMobilityAccount > & aAccounts

HandleSessionEventL(TMsvSessionEvent, TAny *, TAny *, TAny *)

voidHandleSessionEventL(TMsvSessionEvent,
TAny *,
TAny *,
TAny *
)[private]

Parameters

TMsvSessionEvent
TAny *
TAny *
TAny *

ImapRepositoryL()

CRepository &ImapRepositoryL()[private]

IsAccountReadOnlyL(const TPopAccount &)

IMPORT_C TBoolIsAccountReadOnlyL(const TPopAccount &aAccount)

Parameters

const TPopAccount & aAccount

IsAccountReadOnlyL(const TImapAccount &)

IMPORT_C TBoolIsAccountReadOnlyL(const TImapAccount &aAccount)

Parameters

const TImapAccount & aAccount

IsAccountReadOnlyL(const TSmtpAccount &)

IMPORT_C TBoolIsAccountReadOnlyL(const TSmtpAccount &aAccount)

Parameters

const TSmtpAccount & aAccount

IsAccountReadOnlyL(const TSmtpMobilityAccount &)

IMPORT_C TBoolIsAccountReadOnlyL(const TSmtpMobilityAccount &aAccount)

Parameters

const TSmtpMobilityAccount & aAccount

IsAsciiPrintable(const TDesC16 &)

TBool IsAsciiPrintable(const TDesC16 &aText)[private]

Parameters

const TDesC16 & aText

IsAsciiPrintable(const TDesC8 &)

TBool IsAsciiPrintable(const TDesC8 &aText)[private]

Parameters

const TDesC8 & aText

IsSmtpMobilityAccount(CRepository &, TUint32)

TBool IsSmtpMobilityAccount(CRepository &aRepository,
TUint32aAccRepId
)[private]

Parameters

CRepository & aRepository
TUint32 aAccRepId

IsSmtpTypeAccountReadOnlyL(TUint32)

TBool IsSmtpTypeAccountReadOnlyL(TUint32aAccRepId)[private]

Parameters

TUint32 aAccRepId

IsUnicodePrintable(const TDesC16 &)

TBool IsUnicodePrintable(const TDesC16 &aText)[private]

Parameters

const TDesC16 & aText

LoadIAPPrefSettingsL(TUint32, CImIAPPreferences &, CRepository &)

voidLoadIAPPrefSettingsL(TUint32aAccountId,
CImIAPPreferences &aIAP,
CRepository &aRepository
)[private]

Parameters

TUint32 aAccountId
CImIAPPreferences & aIAP
CRepository & aRepository

LoadImapIapSettingsL(const TImapAccount &, CImIAPPreferences &)

IMPORT_C voidLoadImapIapSettingsL(const TImapAccount &aAccount,
CImIAPPreferences &aIAP
)

Parameters

const TImapAccount & aAccount
CImIAPPreferences & aIAP

LoadImapSettingsL(const TImapAccount &, CImImap4Settings &)

IMPORT_C voidLoadImapSettingsL(const TImapAccount &aAccount,
CImImap4Settings &aImapSettings
)

Parameters

const TImapAccount & aAccount
CImImap4Settings & aImapSettings

LoadImapSyncDownloadRulesL(const TImapAccount &, CImapSyncDownloadRules &)

IMPORT_C voidLoadImapSyncDownloadRulesL(const TImapAccount &aAccount,
CImapSyncDownloadRules &aRules
)

Parameters

const TImapAccount & aAccount
CImapSyncDownloadRules & aRules

LoadImapTransportBufferSizesL(CImapTransportBufferSizes &)

IMPORT_C voidLoadImapTransportBufferSizesL(CImapTransportBufferSizes &aBufferSizes)

Parameters

CImapTransportBufferSizes & aBufferSizes

LoadPopIapSettingsL(const TPopAccount &, CImIAPPreferences &)

IMPORT_C voidLoadPopIapSettingsL(const TPopAccount &aAccount,
CImIAPPreferences &aIAP
)

Parameters

const TPopAccount & aAccount
CImIAPPreferences & aIAP

LoadPopSettingsL(const TPopAccount &, CImPop3Settings &)

IMPORT_C voidLoadPopSettingsL(const TPopAccount &aAccount,
CImPop3Settings &aPopSettings
)

Parameters

const TPopAccount & aAccount
CImPop3Settings & aPopSettings

LoadSmtpIapSettingsL(const TSmtpAccount &, CImIAPPreferences &)

IMPORT_C voidLoadSmtpIapSettingsL(const TSmtpAccount &aAccount,
CImIAPPreferences &aIAP
)

Parameters

const TSmtpAccount & aAccount
CImIAPPreferences & aIAP

LoadSmtpMobilityAccountIapListL(const TSmtpMobilityAccount &, RArrayIAP &)

IMPORT_C voidLoadSmtpMobilityAccountIapListL(const TSmtpMobilityAccount &aAccount,
RArrayIAP &aIapList
)

Parameters

const TSmtpMobilityAccount & aAccount
RArrayIAP & aIapList

LoadSmtpMobilitySettingsL(const TSmtpMobilityAccount &, CImSmtpMobilitySettings &)

IMPORT_C voidLoadSmtpMobilitySettingsL(const TSmtpMobilityAccount &aAccount,
CImSmtpMobilitySettings &aSettings
)

Parameters

const TSmtpMobilityAccount & aAccount
CImSmtpMobilitySettings & aSettings

LoadSmtpMobilitySettingsL(TSmtpAccountId &, TUint32, CImSmtpMobilitySettings &)

IMPORT_C TBoolLoadSmtpMobilitySettingsL(TSmtpAccountId &aSmtpAccountId,
TUint32aIap,
CImSmtpMobilitySettings &aSettings
)

Parameters

TSmtpAccountId & aSmtpAccountId
TUint32 aIap
CImSmtpMobilitySettings & aSettings

LoadSmtpSettingsL(const TSmtpAccount &, CImSmtpSettings &)

IMPORT_C voidLoadSmtpSettingsL(const TSmtpAccount &aAccount,
CImSmtpSettings &aSmtpSettings
)

Parameters

const TSmtpAccount & aAccount
CImSmtpSettings & aSmtpSettings

NewL()

IMPORT_C CEmailAccounts *NewL()[static]

NewLC()

IMPORT_C CEmailAccounts *NewLC()[static]

PopRepositoryL()

CRepository &PopRepositoryL()[private]

PopulateDefaultImapSettingsL(CImImap4Settings &, CImIAPPreferences &)

IMPORT_C voidPopulateDefaultImapSettingsL(CImImap4Settings &aImapSettings,
CImIAPPreferences &aImapIap
)

Parameters

CImImap4Settings & aImapSettings
CImIAPPreferences & aImapIap

PopulateDefaultPopSettingsL(CImPop3Settings &, CImIAPPreferences &)

IMPORT_C voidPopulateDefaultPopSettingsL(CImPop3Settings &aPopSettings,
CImIAPPreferences &aPopIap
)

Parameters

CImPop3Settings & aPopSettings
CImIAPPreferences & aPopIap

PopulateDefaultSmtpMobilitySettingsL(CImSmtpMobilitySettings &)

IMPORT_C voidPopulateDefaultSmtpMobilitySettingsL(CImSmtpMobilitySettings &aSettings)

Parameters

CImSmtpMobilitySettings & aSettings

PopulateDefaultSmtpSettingsL(CImSmtpSettings &, CImIAPPreferences &)

IMPORT_C voidPopulateDefaultSmtpSettingsL(CImSmtpSettings &aSmtpSettings,
CImIAPPreferences &aSmtpIap
)

Parameters

CImSmtpSettings & aSmtpSettings
CImIAPPreferences & aSmtpIap

SaveIAPPrefSettingsL(TUint32, const CImIAPPreferences &, CRepository &)

voidSaveIAPPrefSettingsL(TUint32aAccountId,
const CImIAPPreferences &aIAP,
CRepository &aRepository
)[private]

Parameters

TUint32 aAccountId
const CImIAPPreferences & aIAP
CRepository & aRepository

SaveImapIapSettingsL(const TImapAccount &, const CImIAPPreferences &)

IMPORT_C voidSaveImapIapSettingsL(const TImapAccount &aAccount,
const CImIAPPreferences &aIAP
)

Parameters

const TImapAccount & aAccount
const CImIAPPreferences & aIAP

SaveImapSettingsL(const TImapAccount &, const CImImap4Settings &)

IMPORT_C voidSaveImapSettingsL(const TImapAccount &aAccount,
const CImImap4Settings &aImapSettings
)

Parameters

const TImapAccount & aAccount
const CImImap4Settings & aImapSettings

SaveImapSyncDownloadRulesL(const TImapAccount &, const CImapSyncDownloadRules &)

IMPORT_C voidSaveImapSyncDownloadRulesL(const TImapAccount &aAccount,
const CImapSyncDownloadRules &aRules
)

Parameters

const TImapAccount & aAccount
const CImapSyncDownloadRules & aRules

SaveImapTransportBufferSizesL(const CImapTransportBufferSizes &)

IMPORT_C voidSaveImapTransportBufferSizesL(const CImapTransportBufferSizes &aBufferSizes)

Parameters

const CImapTransportBufferSizes & aBufferSizes

SavePopIapSettingsL(const TPopAccount &, const CImIAPPreferences &)

IMPORT_C voidSavePopIapSettingsL(const TPopAccount &aAccount,
const CImIAPPreferences &aIAP
)

Parameters

const TPopAccount & aAccount
const CImIAPPreferences & aIAP

SavePopSettingsL(const TPopAccount &, const CImPop3Settings &)

IMPORT_C voidSavePopSettingsL(const TPopAccount &aAccount,
const CImPop3Settings &aPopSettings
)

Parameters

const TPopAccount & aAccount
const CImPop3Settings & aPopSettings

SaveSmtpIapSettingsL(const TSmtpAccount &, const CImIAPPreferences &)

IMPORT_C voidSaveSmtpIapSettingsL(const TSmtpAccount &aAccount,
const CImIAPPreferences &aIAP
)

Parameters

const TSmtpAccount & aAccount
const CImIAPPreferences & aIAP

SaveSmtpMobilityAccountIapListL(const TSmtpMobilityAccount &, const RArrayIAP &)

IMPORT_C voidSaveSmtpMobilityAccountIapListL(const TSmtpMobilityAccount &aAccount,
const RArrayIAP &aIapList
)

Parameters

const TSmtpMobilityAccount & aAccount
const RArrayIAP & aIapList

SaveSmtpMobilitySettingsL(const TSmtpMobilityAccount &, const CImSmtpMobilitySettings &)

IMPORT_C voidSaveSmtpMobilitySettingsL(const TSmtpMobilityAccount &aAccount,
const CImSmtpMobilitySettings &aSettings
)

Parameters

const TSmtpMobilityAccount & aAccount
const CImSmtpMobilitySettings & aSettings

SaveSmtpSettingsL(const TSmtpAccount &, const CImSmtpSettings &)

IMPORT_C voidSaveSmtpSettingsL(const TSmtpAccount &aAccount,
const CImSmtpSettings &aSmtpSettings
)

Parameters

const TSmtpAccount & aAccount
const CImSmtpSettings & aSmtpSettings

SessionL()

CMsvSession &SessionL()[private]

SetDefaultSmtpAccountL(const TSmtpAccount &)

IMPORT_C voidSetDefaultSmtpAccountL(const TSmtpAccount &aAccount)

Parameters

const TSmtpAccount & aAccount

SetEntryDetailsL(TMsvId, const TDesC &)

voidSetEntryDetailsL(TMsvIdaId,
const TDesC &aAccountName
)[private]

Parameters

TMsvId aId
const TDesC & aAccountName

SetRelatedIdL(CMsvEntry &, TMsvId, TMsvId)

voidSetRelatedIdL(CMsvEntry &aMsvEntry,
TMsvIdaId,
TMsvIdaRelatedId
)[private]

Parameters

CMsvEntry & aMsvEntry
TMsvId aId
TMsvId aRelatedId

SmtpRepositoryL()

CRepository &SmtpRepositoryL()[private]

UnSetInPreparationFlagsL(CMsvEntry &, TMsvId, TInt)

voidUnSetInPreparationFlagsL(CMsvEntry &aMsvEntry,
TMsvIdaId,
TIntaAccountId
)[private]

Parameters

CMsvEntry & aMsvEntry
TMsvId aId
TInt aAccountId

Member Enumerations Documentation

Enum TEmailSettingTypes

Enumerators

EServiceSettingType = 0x00000000
EIAPPrefSettingType = 0x00010000
EAccountMask = 0x800FFFFF

Enum TIAPPreferencesCenRepId

Enumerators

EIAPPrefVersion = 0x00010000
EIAPChoicesCount = 0x00010001
EIAPListIDs = 0x00011000
EIAPListDialogPrefs = 0x00012000
EIAPSnapId = 0x00014000

Enum TIMAPServiceSettingsCenRepId

Enumerators

EIMAPServiceId = 0x00000000
EIMAPAccountNameId = 0x00000001
EIMAPRelatedSMTPServiceId = 0x00000002
EIMAPSettingsVersionId = 0x00000003
EIMAPServerAddressId = 0x00000004
EIMAPPortNumberId = 0x00000005
EIMAPFlagsId = 0x00000006
EIMAPLoginNameId = 0x00000007
EIMAPPasswordId = 0x00000008
EIMAPFolderPathId = 0x00000009
EIMAPPathSeparatorId = 0x0000000A
EIMAPSynchronisationStrategyId = 0x0000000B
EIMAPSubscriptionStrategyId = 0x0000000C
EIMAPMaxEmailSizeId = 0x0000000D
EIMAPGetMailOptionsId = 0x0000000E
EIMAPInboxSynchronisationLimitId = 0x0000000F
EIMAPMailboxSynchronisationLimitId = 0x00000010
EIMAPTlsSslDomainId = 0x00000012
EIMAPSyncRateId = 0x00000020
EIMAPFetchSizeId = 0x00000030
EIMAPIdleTimeoutId = 0x00000040
EPartialMailOptionsId = 0x00000050
EBodyTextSizeLimitId = 0x00000060
EAttachmentSizeLimitId = 0x00000070
EIMAPSearchStringId = 0x00000080
EIMAPReadOnlyAccountId = 0x00000090

Enum TIMAPSyncDownloadRulesCenRepInfo

Enumerators

EIMAPSyncDownloadRulesVersionId = 0x00001000
EIMAPNumInboxSyncDownloadRulesId = 0x00001001
EIMAPNumFolderSyncDownloadRulesId = 0x00001002
EIMAPInboxSyncDownloadRulesBearerTypesId = 0x00001010
EIMAPInboxSyncDownloadRulesMailOptionsId = 0x00001011
EIMAPInboxSyncDownloadRulesTotalSizeLimitId = 0x00001012
EIMAPInboxSyncDownloadRulesBodyTextSizeLimitId = 0x00001013
EIMAPInboxSyncDownloadRulesAttachmentSizeLimitId = 0x00001014
EIMAPInboxSyncDownloadRulesGetMailBodyPartsId = 0x00001015
EIMAPInboxSyncDownloadRulesMaxEmailSizeId = 0x00001016
EIMAPFolderSyncDownloadRulesBearerTypesId = 0x00001030
EIMAPFolderSyncDownloadRulesMailOptionsId = 0x00001031
EIMAPFolderSyncDownloadRulesTotalSizeLimitId = 0x00001032
EIMAPFolderSyncDownloadRulesBodyTextSizeLimitId = 0x00001033
EIMAPFolderSyncDownloadRulesAttachmentSizeLimitId = 0x00001034
EIMAPFolderSyncDownloadRulesGetMailBodyPartsId = 0x00001035
EIMAPFolderSyncDownloadRulesMaxEmailSizeId = 0x00001036
EIMAPSyncDownloadRulesOffset = 0x40

Enum TIMAPTransportBufferSizesCenRepInfo

Enumerators

EIMAPTransportBufferSizesVersionId = 0x80000100
EIMAPNumTransportBufferSizesId = 0x80000101
EIMAPTransportBufferSizesBearerTypesId = 0x80000110
EIMAPTransportBufferSizesFetchRequestSizeId = 0x80000111
EIMAPTransportBufferSizesMaxOutstandingFetchResponsesId = 0x80000112
EIMAPTransportBufferSizesOffset = 0x20

Enum TPOPServiceSettingsCenRepId

Enumerators

EPOPServiceId = 0x00000000
EPOPAccountNameId = 0x00000001
EPOPRelatedSMTPServiceId = 0x00000002
EPOPSettingsVersionId = 0x00000003
EPOPServerAddressId = 0x00000004
EPOPPortNumberId = 0x00000005
EPOPFlagsId = 0x00000006
EPOPLoginNameId = 0x00000007
EPOPPasswordId = 0x00000008
EPOPMaxEmailSizeId = 0x00000009
EPOPGetEmailOptionsId = 0x0000000A
EPOPInboxSynchronisationLimitId = 0x0000000B
EPOPPopulationLimitId = 0x0000000C
EPOPReadOnlyAccountId = 0x0000000D
EPOPTlsSslDomainId = 0x0000000F

Enum TSMTPLinkedMobilityAccountListCenRepInfo

Enumerators

ESMTPLinkedMobilityAccountListVersionId = 0x00015000
ESMTPLinkedMobilityAccountListNumEntriesId = 0x00015001
ESMTPLinkedMobilityAccountListEntryId = 0x00015010
ESMTPLinkedMobilityAccountListMaxEntries = 2048

Enum TSMTPMobilityAccountListCenRepInfo

Enumerators

ESMTPMobilityAccountListVersionId = 0x00016000
ESMTPMobilityAccountListNumEntriesId = 0x00016001
ESMTPMobilityAccountListAccountId = 0x00016010
ESMTPMobilityAccountListNumIapsId = 0x00016011
ESMTPMobilityAccountListIapId = 0x00016020
ESMTPMobilityAccountListOffset = 0x40
ESMTPMobilityAccountMaxEntries = 32

Enum TSMTPServiceSettingsCenRepId

Enumerators

ESMTPServiceId = 0x00000000
ESMTPAccountNameId = 0x00000001
ESMTPSettingsVersionId = 0x00000002
ESMTPServerAddressId = 0x00000003
ESMTPPortNumberId = 0x00000004
ESMTPFlagsId = 0x00000005
ESMTPEmailAliasId = 0x00000006
ESMTPEmailAddressId = 0x00000007
ESMTPReplyToAddressId = 0x00000008
ESMTPReceiptAddressId = 0x00000009
ESMTPBodyEncodingId = 0x0000000A
ESMTPDefaultMsgCharSetId = 0x0000000B
ESMTPSendCopyToSelfId = 0x0000000C
ESMTPSendMessageOptionId = 0x0000000D
ESMTPLoginNameId = 0x0000000E
ESMTPPasswordId = 0x0000000F
ESMTPRelatedServiceId = 0x00000010
ESMTPIncludeToCcId = 0x00000011
ESMTPReadOnlyAccountId = 0x00000012
ESMTPParentAccountId = 0x00000013
ESMTPTlsSslDomainId = 0x00000014
ESMTPLinkedAccountId = 0x00000015

Member Data Documentation

CRepository * iIMAPRepository

CRepository *iIMAPRepository[private]

CMsvSession * iMsvSession

CMsvSession *iMsvSession[private]

CRepository * iPOPRepository

CRepository *iPOPRepository[private]

CRepository * iSMTPRepository

CRepository *iSMTPRepository[private]