---
title: "Outbound email"
url: https://docs.corefinity.com/guides/sites/site-settings/outbound-email
type: guide
last_updated: 2026-11-13
feature: email
related:
  - https://docs.corefinity.com/api/reference/site-settings/get-site-email.md
  - https://docs.corefinity.com/api/reference/site-settings/create-site-email.md
  - https://docs.corefinity.com/api/reference/site-settings/delete-site-email.md
  - https://docs.corefinity.com/api/reference/site-settings/get-site-email-command.md
  - https://docs.corefinity.com/api/reference/site-settings/create-site-email-dns-records.md
  - https://docs.corefinity.com/api/reference/site-settings/create-site-email-domain.md
  - https://docs.corefinity.com/mcp/tools/corestack_email_get.md
  - https://docs.corefinity.com/mcp/tools/corestack_email_enable.md
  - https://docs.corefinity.com/mcp/tools/corestack_email_verify.md
  - https://docs.corefinity.com/mcp/tools/corestack_email_apply_dns.md
  - https://docs.corefinity.com/mcp/tools/corestack_email_send_test.md
  - https://docs.corefinity.com/mcp/tools/corestack_email_rotate_smtp.md
---
# Outbound email

Send a site's email from your own domain, add its DNS records and send a test.

## Before you start

- You can open the site in **Managed Websites**. Anyone who can open a site can set up its email.
- You can add DNS records for the site's domain, at your DNS provider or through Cloudflare.
- Until Production has a sending domain, the email it sends is not delivered. A staging environment's email is caught in Mailpit and never reaches a real inbox. On a WordPress site whose [platform plugins](/guides/sites/software-and-services/platform-plugins) are off, only email sent with PHP mail is caught: an SMTP plugin with live credentials can send real email.

## Set up a sending domain

1. **Open the site's outbound email**

   Go to **Managed Websites**, choose the site, then **Outbound email** under **Site settings**. A site with no sending domain reads **Not set up**.

   _Screenshot: A site page with Outbound email ringed in the section menu. The card reads Not set up, No sending domain yet, with the button Set up email sending._

2. **Create the sending domain**

   Choose **Set up email sending**. Keep the **Sending domain**, a subdomain used only for mail, enter the **Sender address** the site sends from, then choose **Create sending domain**.

   _Screenshot: The Set up email sending dialog: Sending domain with the site's domain after the box, Sender address, the three steps under What happens next, and the buttons Cancel and Create sending domain._

3. **Add the DNS records**

   The card reads **Waiting for DNS** and **DNS records** lists what to add. Add each **Type**, **Name** and **Value** at your DNS provider (**Copy** copies a value); the two **MX** records are optional.

   _Screenshot: Outbound email waiting for DNS: the sending domain and sender, then the DNS records table with SPF, DKIM, tracking and two optional MX records, each marked Missing, and the Re-check button._

4. **Check the records**

   Choose **Re-check**. The records are checked again a few minutes later.

   _Screenshot: Outbound email on a Magento 2 site with the sending domain marked Verified: the sender, a line saying all the DNS records are valid with Show records and Re-check beside it, and the buttons Send test email, Rotate credentials and Remove._

   _Screenshot: Outbound email with the sending domain marked Verified and its records shown: a line saying all the DNS records are valid, with Hide records and Re-check, above the table of TXT, CNAME and optional MX records, each with its Name, Value and the status Valid._

When the 3 required records are valid, the card reads **Verified** and the site's mail goes out from your domain. Until then, mail the site sends is queued and not delivered: add the records straight after you create the domain.

> **Tip:** With the domain's zone connected in Cloudflare, **Add these records in Cloudflare** adds them for you. See [Connect Cloudflare](/guides/organisation/hosting-defaults/cloudflare-connection).

## Send a test email

1. **Send the test**

   On a verified sending domain, enter the **Recipient** under **Send a test email** and choose **Send test**. On a Magento 2 site, choose **Send test email** on the sending domain's row first.

   _Screenshot: The Send a test email dialog: the From address, a Recipient box, a note that up to 20 tests a day can be sent per site, and the buttons Cancel and Send test._

The message is sent from the site, as the site's own mail is. A site sends up to 20 tests a day.

## Change or remove a sending domain

| Button                    | What it does                                                                                                                                                    |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Rotate credentials**    | Gives the site a new login for sending. Mail keeps going out throughout.                                                                                        |
| **Remove sending domain** | Puts the site back on Corefinity's sender first, so mail keeps going out. Type the sending domain to confirm. DNS records you added stay until you delete them. |
| **Add sending domain**    | On a Magento 2 site, adds a sending domain for a store that sends from another domain, up to 5 for each site.                                                   |

## Automate this

**API:** [Create a site's first sending domain](https://docs.corefinity.com/api/reference/site-settings/create-site-email.md), scope `write`

```bash
curl -X POST https://manage.corefinity.com/api/corestack/sites/1042/email \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "sender": {
      "address": "noreply@harbourandfinch.example.com",
      "name": "Harbour & Finch"
    }
  }'
```

**MCP:** [`corestack_email_enable`](https://docs.corefinity.com/mcp/tools/corestack_email_enable.md), scope `write`

```json
{
  "name": "corestack_email_enable",
  "arguments": {
    "site_id": 4211,
    "sender": {
      "address": "shop@example.co.uk",
      "name": "Example Shop"
    }
  }
}
```

**Control Panel:** Managed Websites › your site › Site settings › Outbound email ([https://manage.corefinity.com/go/email](https://manage.corefinity.com/go/email))

## Related

- [Check and point DNS](/guides/sites/go-live/check-and-point-dns): Point a hostname at a site.
- [Connect Cloudflare](/guides/organisation/hosting-defaults/cloudflare-connection): Connect your Cloudflare account.
- [Logs](/guides/sites/logs-and-monitoring/logs): Read and narrow a site's logs.
