Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



POP3 MTM Overview


Purpose

Allows Internet e-mail mail to be retrieved using the POP3 protocol.

[Top]


Architectural relationships

The Messaging Architecture defines a framework in which modules (MTMs) can be implemented that provide support for particular messaging protocols. A client MTM provides the API for application engines to use the protocol. The POP3 MTM API provides the client MTM API, plus supporting classes, for POP3.

[Top]


Description

The API has four key concepts: POP3 Client MTM, get mail helper, POP3 email settings, and email message entry information.


POP3 Client MTM

The POP3 Client MTM provides MTM-specific operations for connection and mail retrieval. Some generic messaging operations, such as creating and sending messages, are not appropriate for POP3, and are not supported by the MTM.

The POP3 Client MTM class is CPop3ClientMtm. The POP3-specific operations are defined in TPop3Cmds.


Get mail helper

This encapsulates all the operations required to connect and retrieve mail. Options are available for moving or copying mail, and for getting all mail or selected mail. The get mail helper is provided by CImPop3GetMail.


POP3 email settings

The settings define email server and user log-on details. It is provided by CImPop3Settings.


Email message entry information

Protocol-specific data for a message is stored in fields in its index entry. A class TMsvEmailEntry is provided to read these fields for e-mail protocols (including POP3).