Short answer: Pantheon’s documentation says WordPress needs an outgoing email service, and strongly advises against using the server’s own mail program. So send your store’s email through a transactional mail service (a service built to send order and account email) using an SMTP or mail plugin. Then add the SPF and DKIM records that service gives you at the company that hosts your domain’s DNS, not at Pantheon.
Reviewed
This page is for store owners whose WooCommerce store runs on Pantheon. It follows Pantheon’s own documentation, read on 2026-11-19. If Pantheon changes its pages, trust its pages over ours. Pantheon is named here only to say what its documentation says. Other hosts are on the hub page.
Symptom
You see one of these:
- Order, password reset or new account emails never arrive, or arrive late.
- They arrive, but in spam.
- A checker or a mail provider says your store’s email fails SPF or is not DKIM signed.
- You do not know where to add the DNS records an email service asks for.
Why it happens
Pantheon’s email page says that WordPress needs a configured outgoing email service. It strongly recommends that you do not use the local mail server on the platform (called postfix) and says mail logs from it are not available to download. In general (this is our explanation, not Pantheon’s), mail sent that way carries no proof that it comes from you, so receiving servers often distrust it.
Two more points from the same page:
- Common mail ports are often blocked. Pantheon says ports 25, 465 and 587 are often blocked by service providers to fight spam, so it suggests avoiding them. For Mailgun, Mailchimp, SendGrid and SparkPost it lists port 2525 as the alternate port. Check that your mail service allows the port you choose.
- API or SMTP. Pantheon recommends a provider with a REST API (a way for your site to hand mail over through the service’s web address instead of a mail connection). It says SMTP also works, but can hurt deliverability because the requests come from changing outgoing IP addresses.
The page gives no figures for how much email a site may send, so this guide does not either.
Where the records go: Pantheon’s DNS page says it does not offer DNS management. Your DNS lives with your domain registrar or another DNS provider. The same page says MX records should not point to Pantheon, because Pantheon does not offer email. Pantheon’s email page says incoming mail is not hosted on Pantheon, and suggests an outside provider for it.
Fix
- Pick a transactional mail service. Pantheon’s page names Mailgun, Mandrill, Postmark, SendGrid, Sendinblue and SparkPost as providers with a REST API, and says people have also had success with SMTP through SendGrid, Gmail, Amazon SES and Mandrill. Use the one that suits you. This page does not rank them. For two of them we have guides: Mailgun and SendGrid.
- Connect it to your store. Install a mail plugin for that service, or an SMTP plugin, and enter the details your service shows. If you choose SMTP, note that Pantheon says ports 25, 465 and 587 are often blocked and lists port 2525 for some services (Mailgun, Mailchimp, SendGrid and SparkPost). Use a port your own service accepts; Pantheon’s email page has its port list.
- Find out where your domain’s DNS is managed. It is wherever your domain’s name servers point: your registrar or a DNS provider. It is not Pantheon and it is not WordPress. Pantheon’s DNS page explains this. If you are not sure, the free checker shows your current records, and your registrar’s account shows the name servers.
- Add the records your mail service gives you. Add them in your DNS provider’s dashboard, exactly as your mail service shows them. The usual records are an SPF record and a DKIM record, both TXT records. Pantheon’s page does not give provider-by-provider steps. Your DNS provider’s help pages and your mail service’s setup page do. For the general idea, read How to add or fix an SPF record and How to set up DKIM. A domain may have only one SPF record: merge, do not add a second.
- Do not add MX records that point to Pantheon. Pantheon says it does not offer email. Leave your MX records with whoever handles your incoming mail.
- Add a DMARC record when SPF and DKIM pass. See DMARC for beginners.
Check it worked
- Run the free checker. Enter the domain your store sends from. The SPF line should show one valid record that includes your mail service. The DKIM line may say “Not checked”, because the checker only tries common selector names. That is not a failure.
- Send a real test. Place a test order, or use a password reset, and send it to a mailbox at a large provider. Open “show original” or the message source and look for
spf=passanddkim=pass. - Check your mail service’s dashboard. Most services show whether a message was accepted and delivered.
If mail still goes to spam after both pass, see WooCommerce emails not sending or going to spam.
How the plugin helps
Email Health Check & Log for WooCommerce recognizes Pantheon when the site defines the constant PANTHEON_ENVIRONMENT (a sure sign) or, failing that, when the server’s reverse DNS name ends in pantheonsite.io or getpantheon.com (a best guess). When one of its checks has fix guidance, the “How to fix this” panel then shows a “Detected hosting” line and short general notes: managed hosts often limit or do not support sending straight from the server, an SMTP plugin with a transactional service is the dependable option, and the records belong in your domain’s DNS, not in WordPress. It also links to Pantheon’s DNS page. These notes are general text, not Pantheon’s exact limits. The plugin changes no DNS records. The detection sends none of your data to us or to your host; its fallback, the reverse DNS lookup, is an ordinary DNS lookup of your server’s address. Get the plugin on WordPress.org.
Sources
- Pantheon documentation: CMS Email Service on Pantheon, read 2026-11-19
- Pantheon documentation: Domain DNS, read 2026-11-19
Pantheon and other product names belong to their owners. They are used here only to say what a company’s documentation says. This page is not affiliated with or endorsed by any of them.