Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <cemailaccounts.h>

Class TSmtpAccount

class TSmtpAccount;

Description

SMTP account ID.

Objects of this type identify SMTP email accounts. They are obtained when a SMTP account is created (CEmailAccounts::CreateSmtpAccountL(TPopAccount &,const CImSmtpSettings &,const CImIAPPreferences &,TBool)), or by querying for what SMTP accounts exist (CEmailAccounts::GetSmtpAccountL(TMsvId,TSmtpAccount &) and CEmailAccounts::GetISmtpAccountsL()).

The object is then used as a handle to the account when getting the account settings, using CEmailAccounts::LoadSmtpSettingsL(const TSmtpAccount &,CImSmtpSettings &) and CEmailAccounts::LoadSmtpIapSettingsL(const TSmtpAccount &,CImIAPPreferences &).

Members

Defined in TSmtpAccount:

Related Topics


Member data


iSmtpAccountId

TSmtpAccountId iSmtpAccountId;

Description

SMTP account identifier number.


iSmtpAccountName

TBuf< KEmailAccountNameSize > iSmtpAccountName;

Description

SMTP account name


iSmtpService

TMsvId iSmtpService;

Description

Entry ID of the SMTP service for this account.


iRelatedService

TMsvId iRelatedService;

Description

Entry ID of the related POP or IMAP service for this account.

An SMTP service (which provides email sending functionality) is used in conjunction with a POP or IMAP service (which provide email retrieval).