Why e-mails from your shop go to spam
A customer says the order confirmation never arrived. After a while it turns out it was sitting in spam. Here are the causes from the most common, and how to verify each.
In short
- The most common cause is missing or wrong domain authentication: SPF, DKIM and DMARC. Since February 2024 Gmail and Yahoo require it from bulk senders.
- It matters where the e-mails are sent from. The platform, the newsletter tool and your own mailbox must all be listed in the domain authentication.
- The rest is reputation and content: a high complaint rate, poor address lists, a missing unsubscribe and unsuitable links.
Why this hurts a shop
An order confirmation, an invoice and a shipping notice are e-mails the customer expects. When they land in spam, support gets calls, the customer fears the order did not go through, and goods are returned or cancelled. For newsletters the impact is smaller but the same: you pay for the tool and nobody sees your message.
Spam filters judge the sender, not a single e-mail. One bad campaign can worsen delivery of order confirmations too, if they use the same domain.
Domain authentication: SPF, DKIM and DMARC
Three DNS records that tell the recipient the e-mail really comes from you.
- SPF: a list of servers and services allowed to send e-mail for your domain.
- DKIM: a digital signature on every e-mail. The recipient uses it to see the message was not altered on the way.
- DMARC: a rule for what the recipient does when authentication fails, and where to send reports.
The exact setup steps are in How to set up DMARC, SPF and DKIM. The most common mistake is a forgotten service: the shop platform, a newsletter tool or an invoicing system that sends with your domain but is listed in neither SPF nor DKIM.
Gmail and Yahoo rules since February 2024
Since February 2024 stricter rules apply to bulk senders (the threshold is roughly 5,000 e-mails a day to addresses at the given provider). The sender must have SPF, DKIM and DMARC set up, the address in the From field must match the authenticated domain, and marketing messages must include simple one-click unsubscribe. The spam complaint rate must stay very low; Google states a limit of 0.3% and recommends staying below 0.1%.
Even if you do not send that many e-mails, an authenticated domain improves delivery at all providers, including Outlook and others. Check the current requirements in each provider’s sender guidelines.
Platform or your own SMTP
Transactional e-mails (order confirmation, shipping status) are mostly sent by the shop platform, such as Shopify, WooCommerce or PrestaShop. Platforms often send from their own servers with their own sender domain, so your shop domain is not authenticated and delivery depends on the platform’s reputation. If you want to send from your own domain, domain authentication is set up in the platform admin and in DNS.
WooCommerce is different: WordPress by default sends through the hosting server’s mail function, which often ends in spam. The fix is to send through an SMTP service with correctly set SPF and DKIM, using a plugin. A fixed sender domain and authentication are needed here too.
Reputation and content
- Address list: sending to people who did not want the e-mails, or to old addresses, leads to complaints and bounces. Clean the list and remove addresses that bounce.
- Unsubscribe: a marketing e-mail must include an easy unsubscribe. Without it people click “spam”.
- Content: all capitals, exclamation marks, a single image with no text, shortened links and an attachment in the first e-mail raise suspicion.
- Link domain: links to a domain other than the sender’s, and to domains with a poor reputation, do harm.
- Sudden volume growth: a new domain that immediately sends tens of thousands of messages looks suspicious. Increase volume gradually.
How to check it yourself
Send an e-mail to a test address
Services such as mail-tester.com give you a one-time address to which you send a real e-mail from your shop, for example an order confirmation. They return a score and a list of findings including SPF, DKIM, DMARC and content. Treat them as a guide.
Read the headers in Gmail
On a received e-mail open the three-dot menu and choose Show original. At the top you see SPF, DKIM and DMARC with the result PASS or FAIL and the address the message was sent from.
Find the reason for failure
In the headers search for
Authentication-Results. A linespf=failmeans the server is not in SPF.dkim=nonemeans the e-mail is not signed.dmarc=failusually means a domain mismatch: the service signed with its own domain, not yours.Check the DNS records
Use
nslookup -type=txt yourdomain.comto show SPF andnslookup -type=txt _dmarc.yourdomain.comfor DMARC. There must be exactly one SPF record.Test several providers
Send the same message to Gmail, Outlook and Yahoo. If only one provider puts it in spam, it is more likely a reputation matter than missing records.
What to do when delivery suddenly got worse
If e-mails used to land in spam only rarely and suddenly do so often, find out what changed. Typically: a new service sending for your domain, a DNS change at the registrar, a new newsletter tool, or a campaign to an old address list. Revert or fix the last change and test again.
For Gmail there are Postmaster Tools, where after verifying your domain you see domain reputation and complaint rate. Other providers have no similarly clear tools, so rely on tests and on customer reports. Advise customers who did not receive the e-mail to find it in spam and mark it as “not spam”. It helps them and you.
Customer support as a warning
The first signal of a problem usually does not come from technical tools but from customers: “I did not get a confirmation”. Keep a record of such queries and for each check which provider the address belongs to. If one domain repeats, look for the cause there. If they are scattered, it is more likely the authentication of your domain.
How to read e-mail headers
A header is a technical record of the message’s path. Three things matter. The From field shows whose domain the message claims to be from. The Return-Path field shows the bounce address, which SPF is checked against. The DKIM-Signature field contains the domain that signed the message, in the d= item.
DMARC passes when the domain in From matches the domain in Return-Path or the d= in the signature. If a newsletter has your domain in From but was signed by the newsletter tool’s domain, there is no match. The fix is to turn on signing with your own domain in the tool’s settings.
Frequently asked questions
Why did an order confirmation land in spam for just one customer?
The filters of every provider and every mailbox learn separately. If the customer earlier marked a similar e-mail as spam, more of them will end up there. In general, an authenticated domain helps.
Is SPF alone enough?
No. For bulk senders Gmail and Yahoo require SPF, DKIM and DMARC. And without DMARC someone can send fraudulent messages that look like they come from you.
Will changing the newsletter tool help?
Changing the tool alone usually does not solve it. If the cause is an unauthenticated domain or a poor address list, it moves to the new tool too.
Order a free audit
Enter the shop address and your e-mail. We send the report in two working days. We use your details only to answer this request.
- No access and nothing to install
- The report is yours even if you order nothing
- A person answers, not a bot
Thank you, we have your request
We will send the report to your e-mail in two working days.
Sending did not work
Please send us the request by e-mail. The text is ready.
info@lyneon.eu
More guides
- Consent Mode v2: how to check it on your shop5 min read
- How to set up DMARC (and SPF and DKIM) for your shop5 min read
- European Accessibility Act: what it means for online shops5 min read
- How to check whether Meta Pixel fires before consent6 min read
- Why GA4, Google Ads and your shop admin show different conversions6 min read
- Disapproved products in Google Shopping: the most common reasons5 min read
- Core Web Vitals for online shops: LCP, CLS and INP explained5 min read
- Why Google does not index your shop pages and what to do6 min read