CorefinityCorefinityDocs
Open the Control PanelControl Panel
Site settings · 7 of 8

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

On this page

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 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.

  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.

  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.

  4. Check the records

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

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.

With the domain's zone connected in Cloudflare, Add these records in Cloudflare adds them for you. See Connect Cloudflare.

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.

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

ButtonWhat it does
Rotate credentialsGives the site a new login for sending. Mail keeps going out throughout.
Remove sending domainPuts 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 domainOn a Magento 2 site, adds a sending domain for a store that sends from another domain, up to 5 for each site.

Automate this

Outbound email

Creates the site's first sending domain, by default mg. followed by the site's domain, and makes the site send through it.

POST/api/corestack/sites/{site}/email
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": "[email protected]",
      "name": "Harbour & Finch"
    }
  }'
Was this helpful?
Open in ClaudeOpen in ChatGPT