Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


IMAP4 MTM Overview

[Top]


Purpose

Provides retrieval and management of email on a remote IMAP4 server

[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 IMAP4 MTM API provides the client MTM API, plus supporting classes, for IMAP4.

[Top]


Description

The API has two key concepts: IMAP4 Client MTM, and IMAP4 service settings.


IMAP4 Client MTM

The IMAP4 Client MTM provides IMAP-specific operations, the most important of which are synchronising with a remote server, or folder on a remote server. Some generic messaging operations, such as sending messages (for which you should use SMTP), are not supported by the MTM. Extra functions are provided for obtaining and setting IMAP4 service settings.

The IMAP4 Client MTM class is CImap4ClientMtm.


IMAP4 service settings

Settings for IMAP4 are stored in the message store (CMsvStore) for the service entry. Encapsulation of service settings is provided by CImImap4Settings.


Get mail helper

The helper wraps up many individual IMAP operations into a single call. A large number of options are available, which fall into the following groups:

The get mail helper class is CImImap4GetMail.