---
title: "Create a Mail"
description: "Create a mail without creating a campaign. Before starting to send mails, make sure you have created a from address. See the from addresses section to create and obtain from addresses."
canonical: "https://docs.cm.com/mobile-marketing-cloud/email-campaigns/mails/create-mail"
---

# Create a Mail

> Create a mail without creating a campaign. Before starting to send mails, make sure you have created a from address. See the from addresses section to create and obtain from addresses.

Source: https://docs.cm.com/mobile-marketing-cloud/email-campaigns/mails/create-mail

# Create a mail

Create a mail without creating a campaign. Before starting to send mails, make sure you have created a from address. See the from addresses section to create and obtain from addresses.

```http
POST https://api.cm.com/bulkemail/v1.0/accounts/{accountID}/mails
```

#### System links<br />

The following system links can be included for a mail without a campaign. Simply put the placeholder somewhere in the body of the mail and we will automatically replace them.

<table>
  <thead>
    <tr>
      <th>Placeholder</th>
      <th>Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>\[\[ SpecialLink.Unsubscribe ]]</td>
      <td>Unsubscribe link, this will allow users to unsubscribe for your mails.<br /> They won't get mails when you try to send to them again.</td>
    </tr>
  </tbody>
</table>

## POST Parameters

<table>
  <thead>
    <tr>
      <th>Name</th>
      <th>In</th>
      <th>Description</th>
      <th>Required</th>
      <th>Type</th>
      <th>Example</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>AccountID</td>
      <td>Path</td>
      <td>The account guid</td>
      <td>True</td>
      <td>Guid</td>
      <td>A8C062E4-ECFD-48D0-89B1-A37D2622B7A9</td>
    </tr>

    <tr>
      <td>Body</td>
      <td>Body</td>
      <td>The mail to create</td>
      <td>True</td>
      <td>Json object</td>
      <td>See example request</td>
    </tr>

    <tr>
      <td>X-CM-PRODUCTTOKEN</td>
      <td>Header</td>
      <td>Your product token</td>
      <td>True</td>
      <td>Guid</td>
      <td>C24A5029-37DD-4161-9728-F80D8639588E</td>
    </tr>
  </tbody>
</table>

```json title="Example request"
{
	"FromAddressID": "05923f4c-eb2e-4e4b-a07a-096fcbb2697a",
	"FromName": "John Doe",
	"ReplyToAddressID": null,
	"ReplyToAddress": null,
	"ReplyToName": null,
	"ToAddress": "john.doe@cm.com",
	"ToName": "John Doe",
	"Ccs": [
		{
			"EmailAddress": "jane.doe@cm.com"
		}
	],
	"Bccs": null,
	"Subject": "Demo",
	"HtmlBody": "&lt;!DOCTYPE HTML PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional //EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"&gt;&lt;html&gt;&lt;body&gt;&lt;p&gt; Hello John!&lt;/p&gt;&lt;a href=\"[[ SpecialLink.Unsubscribe ]]\"&gt;Unsubscribe&lt;/a&gt;&lt;/body&gt;&lt;/html&gt;",
	"TextBody": "Hello John",
	"Attachments": [
		{
			"Content": "VGhpcyBpcyBhIGF3ZXNvbWUgdGV4dCBmaWxl",
			"FileName": "info.txt"
		}
	],
	"CustomerReference": "123456789"
}
```

## Responses

<table>
  <thead>
    <tr>
      <th>Http status</th>
      <th>Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>200</td>
      <td>Mail created</td>
    </tr>

    <tr>
      <td>400</td>
      <td>Bad request</td>
    </tr>
  </tbody>
</table>

```json title="Example response"
{
	"ID": "16bc0f8e-77af-4cfa-a2d0-686726d1f697",
	"AccountID": "a8c062e4-ecfd-48d0-89b1-a37d2622b7a9",
	"FromAddressID": "05923f4c-eb2e-4e4b-a07a-096fcbb2697a",
	"FromName": "John Doe",
	"ReplyToAddressID": null,
	"ReplyToAddress": null,
	"ReplyToName": null,
	"ToAddress": "john.doe@cm.com",
	"ToName": "John Doe",
	"Ccs": [
		{
			"EmailAddress": "jane.doe@cm.com"
		}
	],
	"Bccs": null,
	"Subject": "Demo",
	"HtmlBody": "&lt;!DOCTYPE HTML PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional //EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"&gt;&lt;html&gt;&lt;body&gt;&lt;p&gt; Hello John!&lt;/p&gt;&lt;a href=\"[[ SpecialLink.Unsubscribe ]]\"&gt;Unsubscribe&lt;/a&gt;&lt;/body&gt;&lt;/html&gt;",
	"TextBody": "Hello John",
	"Attachments": null,
	"CreatedOn": "2017-08-22T16:30:09.899",
	"CreatedOnUtc": "2017-08-22T15:30:09.899Z",
	"ModifiedOn": "2017-08-22T16:30:09.899",
	"ModifiedOnUtc": "2017-08-22T15:30:09.899Z"
}
```
