Short answer: make sure your store mail is signed with your own domain (DKIM), your domain publishes one SPF record and a DMARC record, and the From address uses your domain.
Reviewed
Symptom
Order emails to customers with Yahoo, Outlook.com, Hotmail or Gmail addresses bounce or disappear, while other addresses work. A bounce message may say that access was denied. For Outlook.com the error looks like this: 550 5.7.515 Access denied, sending domain example.com does not meet the required authentication level.
For Gmail, the codes to look for are 5.7.27 (the message did not pass SPF) and 5.7.30 (it did not pass DKIM). Google’s FAQ says that since November 2025 Gmail has been ramping up enforcement, with temporary and permanent rejections for mail that does not meet the requirements. It lists 4.7.27 and 4.7.30 as the temporary versions. Google’s descriptions of these codes refer to bulk senders, while its guidelines ask every sender for SPF or DKIM. This is an ongoing rule, not a one-time event. See the post Gmail rejecting mail: 5.7.27 and 5.7.30.
Why it happens
Large mailbox providers now publish sender requirements. They boil down to this: prove that mail really comes from your domain.
| Requirement | Gmail | Yahoo | Outlook.com |
|---|---|---|---|
| Applies to | All senders, with extra rules for bulk senders (close to 5,000 or more messages a day to personal Gmail accounts) | All senders, with extra rules for bulk senders (Yahoo does not state a volume) | Senders of 5,000 or more messages to Microsoft consumer email services, from the same From domain |
| SPF and DKIM | All: SPF or DKIM. Bulk: both | All: SPF or DKIM at a minimum. Bulk: both | Microsoft lists both SPF and DKIM as required |
| DMARC | Bulk: a DMARC record, p=none is enough | Bulk: a DMARC policy, p=none at least, and it must pass | A DMARC record, p=none is the example given, and DMARC must pass |
| Alignment | Bulk: the From domain must match the SPF or the DKIM domain | Bulk: the From domain must match the SPF or the DKIM domain | At least one of SPF or DKIM must align with the From domain |
Alignment means the domain in the visible From address matches the domain that SPF or DKIM authenticated. A mail service that signs with its own domain, instead of yours, passes SPF or DKIM but fails alignment. This is the most common reason a store’s mail is rejected even though “SPF is set up”.
What about unsubscribe links?
One-click unsubscribe is for marketing mail. Google’s FAQ says it is required only for marketing and promotional messages, and gives password resets as an example of transactional mail that is not covered. Yahoo’s FAQ says the same: it does not apply to transactional messages such as order confirmations and password resets, and enforcement of the one-click requirement began in June 2024. Microsoft’s Outlook.com article lists authentication requirements only and states no unsubscribe requirement. So order confirmations, receipts and password resets do not need a one-click unsubscribe. A newsletter or promotional campaign sent from your store does. Do not put promotions inside a receipt: Google asks senders not to mix content types.
Do these rules apply to a small store?
The “bulk” rules apply by volume, but the basics do not wait for volume. Gmail and Yahoo both ask every sender for SPF or DKIM, Yahoo says it strongly urges all senders to publish DMARC, and Gmail says a sender who meets the bulk threshold even once is treated as a bulk sender permanently. Setting all three up now is cheap.
Fix
- Send from your own domain. The From address of your store emails should be on a domain you control, for example
shop@example.com. - Use a mail service that signs with your domain. In your mail service’s domain settings, add its DKIM records so that mail is signed with your domain (the
d=value in the DKIM signature is example.com). Many services ask you to publish this as DNS records they give you. - Publish one SPF record that lists your sender. For example, if you use Google Workspace only, Google’s documentation gives
v=spf1 include:_spf.google.com ~all. For other services, use the value your service gives you. Keep one record per domain, and see SPF too many DNS lookups if you send through several services. - Publish a DMARC record. Start with a monitoring-only policy (
p=none) that sends reports to a mailbox you read. The exact record to publish, and how to read the reports and tighten the policy later, are in DMARC for beginners. - Keep complaints low. Gmail asks senders to stay below a spam rate of 0.3% in Postmaster Tools, and Yahoo gives the same 0.3% figure. Only email people who expect to hear from you.
Check it worked
- Send a test order email to an address you control at Gmail, Yahoo and Outlook.com. In each, open the original message or headers and look for SPF, DKIM and DMARC results of pass. Microsoft’s article suggests exactly this: check the headers for SPF, DKIM and DMARC, and confirm the return-path domain matches the From domain. The return-path (also called the bounce address or envelope sender) is the hidden address that bounces go to; SPF is checked against its domain.
- If a third-party service sends for you, confirm it signs with your domain and that its bounce (return-path) address uses your domain or a subdomain of it.
- Check that exactly one SPF record and one DMARC record exist for your domain.
How the plugin helps
Email Health Check & Log for WooCommerce checks that SPF, DKIM and DMARC records exist for the domain your site sends from (DKIM shows “Not checked” when your provider uses a key name the plugin cannot guess), and shows a record to copy where your provider documents one, with a link to the provider’s own guide. It does not test alignment, does not read DMARC reports, and does not know whether you are over any provider’s volume threshold, so a Pass in the report means the records exist, not that every receiver accepts your mail. Get the plugin on WordPress.org.
Sources
- Gmail help: email sender guidelines and FAQ (the FAQ lists the Gmail rejection codes)
- Yahoo Sender Hub: requirements and FAQs
- Microsoft support: fix NDR error 550 5.7.515 in Outlook.com
- Google Workspace help: set up SPF