message: send

Important: APIs under the /beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported.

Send a message in the draft folder. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. The message is then saved in the Sent Items folder.

Prerequisites

One of the following scopes is required to execute this API: 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.

Request body

Response

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

Example

Here is an example of how to call this API.

Request

Here is an example of the request.

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

Here is an example of the response.

HTTP/1.1 202 Accepted