Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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(const TDesC &,const CImImap4Settings &,const CImIAPPreferences &,TBool)), or by querying for what IMAP accounts exist (CEmailAccounts::GetImapAccountL(TMsvId,TImapAccount &) and CEmailAccounts::GetImapAccountsL(RArray< TImapAccount > &)).

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

Members

Defined in TImapAccount:

Related Topics


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(TPopAccount &,const CImSmtpSettings &,const CImIAPPreferences &,TBool), 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).