Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


Send-As Messaging

Send-As messaging provides a simple-to-use interface that allows applications to package data into outgoing messages. It provides client applications with the means to:

An application using the API first determines whether an appropriate MTM is available by setting the required capabilities, such as whether support for attachments is needed, or whether the message body is restricted to plain text. It then obtains a list of the available MTMs. If there is more than one service that can be used by the MTM, for example, more than one SMTP account, then the caller can chose which one to use. If the caller does not set a service, then the default service is used. Alternatively, if the caller knows which MTM to use, it can be set directly using the MTM UID.

The client then uses the API to set the message's contents. The message can then be saved, so that it can be sent later by the user, or from v9.0, can be sent, or edited in the appropriate message editor.

From v9.0, the Send As API is provided by the RSendAs and RSendAsMessage classes. The API is not compatible with the pre-v9 version of the API.

Before v9.0, the Send As API is provided by CSendAs.