Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <cemailaccounts.h>

Class TPopAccount

class TPopAccount;

Description

POP account ID.

Objects of this type identify POP email accounts. They are obtained when a POP account is created (CEmailAccounts::CreatePopAccountL(const TDesC &,const CImPop3Settings &,const CImIAPPreferences &,TBool)), or by querying for what POP accounts exist (CEmailAccounts::GetPopAccountL(TMsvId,TPopAccount &) and CEmailAccounts::GetPopAccountsL(RArray< TPopAccount > &)).

The object is then used as a handle to the account when getting the account settings, using CEmailAccounts::LoadPopSettingsL(const TPopAccount &,CImPop3Settings &) and CEmailAccounts::LoadPopIapSettingsL(const TPopAccount &,CImIAPPreferences &).

Members

Defined in TPopAccount:

Related Topics


Member data


iPopAccountId

TPopAccountId iPopAccountId;

Description

POP account identifier number.

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


iPopAccountName

TBuf< KEmailAccountNameSize > iPopAccountName;

Description

POP account name.


iPopService

TMsvId iPopService;

Description

Entry ID of the POP 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).