diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-F7598A84-9736-5310-AAA4-5BCC4BE46C16.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-F7598A84-9736-5310-AAA4-5BCC4BE46C16.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,53 @@ + + + + + +SendAs +TutorialSendAs provides APIs which create messages in the Drafts folder +of a Message Store. It enables you to build the message parts, that is, to +add message recipient(s), subject, body and so on. +

Note: This tutorial explains the basic steps of creating and sending +SendAs messages using the SendAs +example code as a reference.

+ +
Required background

This tutorial assumes that +you have a good understanding of SendAs.

+
Introduction

The SendAs +Server maintains all SendAs entries and controls the access to a message +store. It allows client applications to create messages in the Drafts folder +of the message store. The SendAs API allows a client application to launch +an appropriate message editor for a given message type. There are two methods +of sending messages: confirmed and unconfirmed send. Confirmed send requires +confirmation by the UI MTM which typically asks the phone user. Unconfirmed +send does not require confirmation by the UI MTM.

The main client-side +classes of SendAs are RSendAs and RSendAsMessage . RSendAs is +used to establish a session with the SendAs Server and to find the available +message types and services. RSendAsMessage is used to create, +set and send messages.

Client applications do not require any capabilities +to use the RSendAs and RSendAsMessage classes. +However, if an application does not have the necessary security capabilities +to send a message, the SendAs Server ensures that a message is only sent with +the user's authorization. See SendAs +Overview for more information.

+
Procedure
    +
  1. Create a session with the SendAs Server.

  2. +
  3. Select from a list of available MTMs and accounts.

  4. +
  5. Create and populate a message.

  6. +
  7. Send the message.

  8. +
+SendAs example

For more details on implementing +all the SendAs functions, see SendAs +example code.

+
+OBEX MTM + +Messaging +Framework +
\ No newline at end of file