Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: cemailaccounts.h

Class TImapAccount

class TImapAccount;

Description

IMAP account ID.

Objects of this type identify IMAP email accounts. They are obtained when a IMAP account is created (CEmailAccounts::CreateImapAccountL()), or by querying for what IMAP accounts exist (CEmailAccounts::GetImapAccountL() and CEmailAccounts::GetImapAccountsL()).

The object is then used as a handle to the account when getting the account settings, using CEmailAccounts::LoadImapSettingsL() and CEmailAccounts::LoadImapIapSettingsL().

Members

Defined in TImapAccount:
iImapAccountId, iImapAccountName, iImapService, iSmtpService

See also


Member data


iImapAccountId

TImapAccountId iImapAccountId;

Description

IMAP account identifier number.

Each IMAP account stored on the phone has a different identifier number to distinguish it from other accounts.


iImapAccountName

TBuf< KEmailAccountNameSize > iImapAccountName;

Description

IMAP account name


iImapService

TMsvId iImapService;

Description

Entry ID of the IMAP service for this account.


iSmtpService

TMsvId iSmtpService;

Description

Entry ID of the related SMTP service for this account.

This is set if an SMTP service has been created, using CEmailAccounts::CreateSmtpAccountL(), that specifies that it is related to this account. An SMTP service (which provides email sending functionality) is used in conjunction with a POP or IMAP service (which provide email retrieval).