message: send

Namespace: microsoft.graph

Send an existing draft message.

The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft.

This method saves the message in the Sent Items folder.

Alternatively, send a new message in a single operation.

Permissions

One of the following permissions are required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Mail.Send
Delegated (personal Microsoft account) Mail.Send
Application Mail.Send

HTTP request

POST /me/messages/{id}/send
POST /users/{id | userPrincipalName}/messages/{id}/send

Request headers

Name Type Description
Authorization string Bearer {token}. Required.
Content-Length number 0. Required.

Request body

Since this method sends an already existing draft message, specifying a request body is not necessary.

Response

If successful, this method returns 202 Accepted response code. It does not return anything in the response body.

Examples

Example 1: Send an existing draft message

The following example shows how to call this API.

Request

Here is an example of the request.

POST https://graph.microsoft.com/v1.0/me/messages/{id}/send
Response

Here is an example of the response.

HTTP/1.1 202 Accepted