This topic has not yet been rated - Rate this topic

2.2.2.15 SendMail

The SendMail command is used by clients to send MIME-formatted e-mail messages to the server.

Clients SHOULD NOT save messages directly to the local Sent Items folder; instead, clients SHOULD use the SaveInSentItems element (section 2.2.3.144) to automatically save the messages on the server. It is not possible to reconcile the local Sent Items folder with the server's Sent Items folder by using the Sync command (section 2.2.2.19). Items in the server's Sent Items folder can be added to the client by using the Sync command, but it is not possible to add items that are in the local Sent Items folder to the server.

Note that the From: MIME header in the outgoing message is set on the server to the primary e-mail address of the authenticated user.

The ComposeMail namespace is the primary namespace for this section. Elements referenced in this section that are not defined in the ComposeMail namespace use the namespace prefixes defined in section 2.2.1.

The following table lists the elements that are used in SendMail command requests and responses.

Element name

Scope

Reference

SendMail

Request and Response

section 2.2.3.148

ClientId

Request

section 2.2.3.28.1

AccountId

Request

section 2.2.3.3.1

SaveInSentItems

Request

section 2.2.3.144

Mime

Request

section 2.2.3.99

Status

Response

section 2.2.3.162.13

Did you find this helpful?
(1500 characters remaining)