---
title: "Send a MIME email"
method: POST
path: "/email/mime"
tags: ["EMAILS"]
---

# Send a MIME email

`POST /email/mime`

Send an email by supplying a pre-encoded MIME string

## Request body

- object
  - `mime_email` string, required — A valid MIME-encoded string that has been Base64 encoded
  - `schedule` string — A timestamp that when passed allows you to schedule an email for sending. Must be in the future and within the next 3 days.<br />The api response will include a `schedule_id` property which can then be used alongside webhooks (An `X-Smtp2go-Schedule-Id` header is added to the sent email corresponds to this id). A total of 50,000 emails can be queued at any one time.
  - `fastaccept` boolean — If true, the email will be accepted immediately and sent in a background process. Use webhooks if you need information about final delivery to the recipient. This will soon become the default method of sending via API.

## Response `200`

Mime email sent

- object
  - `request_id` string, required
  - `data` object, required
    - `failed` integer — The number of emails that failed to send.<br><br>Note: An email with multiple recipients is classed as 1 email. Only returned if 'fastaccept' is false.
    - `failures` unknown[] — An array containing any error messages encountered during sending. Only returned if 'fastaccept' is false.
      - unknown
    - `succeeded` integer — The number of emails that were successfully sent.<br><br>Note: An email with multiple recipients is classed as 1 email. Only returned if 'fastaccept' is false.
    - `email_id` string, required — The email ID generated if successfully sent
    - `schedule_id` string — The schedule ID generated if queued for sending. Only returned if 'schedule' is passed.

## Other responses

- `400` — 400

---

[API](https://skmtc.net/smtp2go/apis/smtp2go-api-v3-0-4.md) · [All operations](https://skmtc.net/smtp2go/apis/smtp2go-api-v3-0-4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smtp2go/smtp2go-api-v3-0-4/versions/1ba6b25eebb9/schema)
