Almost every WordPress SMTP plugin has a “send test email” button, and almost every one of them will tell you the test succeeded while your order confirmations are landing in spam. Both things are true at once, because they are answers to different questions.
“Sent successfully” means your server handed the message to a mail provider without an error. It says nothing about what happened next: whether the receiving server could verify the message came from you, whether it trusted your domain, or where it filed the result.
A real deliverability test answers the second question. This guide covers what to test, how to read what comes back, and what to do about each kind of failure.
The four things worth testing
Deliverability failures cluster into four causes, and they need different tests.
- Can your site reach a mail provider at all? A blocked port or a wrong credential stops mail before it leaves the building.
- Can receivers verify the message is really from your domain? This is SPF, DKIM and DMARC — the authentication layer.
- Does your sending infrastructure look legitimate? Reverse DNS, and whether the sending IP has a reputation problem.
- Is mail actually being delivered, or is it queued somewhere on your own site? A backlog looks exactly like a delivery failure to the person waiting for the email.
Most guides cover only the second. It is the most common cause, but a site failing the first or fourth will chase DNS records for days without improvement.
Test 1: the authentication check
The fastest free method uses Gmail, and it has the advantage of showing you what a receiver concluded rather than what a tool predicts.
- Send a message from your site to a Gmail address.
- Open it, click the three-dot menu, choose Show original.
- Read the
Authentication-Resultsheader.
You want to see all three passing:
spf=pass dkim=pass dmarc=pass
What the failures mean:
spf=failorsoftfail— the server that sent the message is not listed in your domain’s SPF record. Usually you added the record for the wrong provider, or changed providers and never updated it.spf=permerror— your SPF record is broken, most often by exceeding the ten-DNS-lookup limit. Covered below, because it is badly misunderstood and it breaks mail while looking correct.dkim=none— nothing signed the message. Either DKIM was never enabled at your provider, or the published selector does not match the one signing.dkim=fail— there is a signature but it does not validate. Something modified the message in transit, or the published key is stale.dmarc=failwith SPF and DKIM passing — the alignment case, and the one that confuses people most. See below.
The alignment trap
You can pass SPF, pass DKIM, and still fail DMARC. This is not a bug, and it is the single most common reason people say “I set up all three records and it still doesn’t work.”
DMARC does not just ask whether SPF and DKIM passed. It asks whether they passed for the domain in the From address your reader sees. If your From address is [email protected] but SPF passed for your email provider’s own domain, SPF passed and alignment failed — so DMARC fails.
The fix is to authenticate your own domain at your provider — publish their DKIM records on your domain — rather than relying on their shared infrastructure. Most providers call this “domain authentication” and treat it as optional. For DMARC it is not.
SPF PermError: the ten-lookup limit
SPF allows a maximum of ten DNS lookups when evaluating your record. The mechanisms include, a, mx, ptr, exists and redirect each count toward it. The ip4, ip6 and all mechanisms do not.
Exceed ten and evaluation returns PermError — and DMARC treats a PermError as an SPF failure. Your record looks perfectly reasonable in a text editor and is failing every check.
This is easier to hit than it sounds. Google Workspace, plus a transactional provider, plus a marketing platform will often reach nine to twelve lookups between them. Each include can pull in further includes you never see.
The fix is to flatten or consolidate: remove providers you no longer use, and replace an include with explicit ip4 ranges where the provider publishes stable ones.
Test 2: the connection check
Authentication is irrelevant if the message never leaves. Many hosts block outbound port 25, and some block 465 and 587 too, so a plugin can be configured perfectly and still be unable to open a connection.
This failure has a distinctive signature: the test email hangs for ten to thirty seconds and then reports a connection timeout, rather than failing instantly with an authentication error. An instant rejection is usually credentials. A long pause followed by failure is usually a blocked port.
The common error string is worth recognising:
SMTP ERROR: Failed to connect to server: (0)
A (0) error code most often means the connection never got far enough to produce a real one — a blocked port or a TLS negotiation failure, not a wrong password.
If your host blocks SMTP ports, switching to a provider’s HTTP API rather than SMTP sidesteps the problem entirely, because API mailers use ordinary HTTPS on port 443.
Test 3: reverse DNS and reputation
Receiving servers check whether the sending IP resolves back to a hostname (a PTR record). Mail from an IP with no reverse DNS is treated with suspicion.
If you send through a provider, this is their responsibility and it is almost always correct. If you send directly from your web server — which is worth avoiding for this reason among others — it is yours, and shared hosting rarely gets it right.
Test 4: your own queue
This one gets missed because it does not look like a deliverability problem. If your site queues mail for background sending and the queue is not draining, messages sit on your own server. To the customer waiting for a password reset, that is indistinguishable from mail going to spam.
On WooCommerce sites, check WooCommerce → Status → Scheduled Actions. Pending or past-due entries piling up mean Action Scheduler is backed up, and the usual cause is WP-Cron: it only runs when somebody visits the site, so a quiet site processes its queue slowly or not at all. A real system cron running every five minutes fixes it.
Testing the four cases that break in production
A test that only covers the happy path is why setups pass and then fail in use. Four cases are worth exercising deliberately.
Send to an address you have never sent to before. If you always test to the same inbox, you are testing a warm path. Providers treat a first-time recipient differently, and on Amazon SES this is the only way to prove you have actually left the sandbox — a verified address will succeed regardless.
Send from every From address your site uses. Sites commonly send from more than one: WooCommerce has its own, a forms plugin has another, and the SMTP plugin has a third. Each is authenticated separately, and it is entirely normal for order confirmations to pass while contact-form notifications fail because that address was never authorised.
Send a message with an attachment. Attachments change the path — size limits, encoding, and on queued systems whether the file still exists at send time. A working plain-text test proves nothing about a PDF invoice.
Send to a Microsoft-hosted domain. Testing only against Gmail gives a partial picture. Microsoft weights sender reputation more heavily and is more aggressive with unfamiliar senders, so mail that sails into Gmail can be quarantined at Outlook. If your customers are businesses, this is the more representative test.
Reading a bounce properly
Bounces carry a code, and the first digit tells you whether the problem is worth acting on.
5xx is permanent. The address does not exist, the domain does not resolve, or you were rejected outright. Retrying achieves nothing and repeated attempts damage your reputation. A 550 naming a blocklist is one of the few cases where a blacklist check is genuinely the right next step.
4xx is temporary. A mailbox is full, the server is busy, or you are being greylisted — deliberately deferred on first contact, to be accepted on retry. Greylisting is common and looks alarming; the correct response is to let the retry happen.
The distinction matters because the two demand opposite reactions. Treating a 4xx as fatal means abandoning mail that would have been delivered; treating a 5xx as retryable is how bounce rates climb until a provider suspends the account.
This is also where a provider’s dashboard earns its place over any external tool. It shows the actual response, and a specific rejection reason from the receiving server ends most investigations immediately.
Doing this repeatedly, without doing it by hand
Everything above is a point-in-time check. That is the real weakness of manual testing: DNS records get edited, providers rotate keys, a plugin changes your From address, a host changes its firewall. A domain that passed in March can be failing in June with nothing visibly different.
NimblyMail runs these checks as a scheduled audit across six pillars — SPF, DKIM, DMARC, PTR, connectivity and queue health — and re-runs them weekly rather than waiting for you to think of it.
Two details make the result more useful than a generic DNS lookup:
- It knows which provider you are using. The SPF
includevalue it expects and the DKIM selector it looks for are read from your configured mailer, not from a hardcoded list. So it can tell you the specific record you are missing rather than reporting a generic SPF warning. - The connectivity pillar opens a real connection. It is not a DNS lookup — it attempts an actual TCP connection to your SMTP host and port with a five-second timeout, or an HTTP request for API-based providers, and reports which endpoint passed or failed. That is what catches a host that has quietly started blocking a port.
Each pillar reports pass, warning or failure with a plain-language reason, and you can force a fresh run from the dashboard rather than waiting for the weekly one.
Reading a real header, line by line
The Authentication-Results header is dense and unpunctuated, and most people skim it. It is worth reading properly once, because everything you need is in it.
A healthy header from a correctly configured store looks roughly like this:
Authentication-Results: mx.google.com;
dkim=pass [email protected] header.s=s1 header.b=Nx8kQ2wR;
spf=pass (google.com: domain of [email protected]
designates 192.0.2.10 as permitted sender)
[email protected];
dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE)
header.from=yourshop.com
Four things in there matter, and three of them are routinely misread.
[email protected] — the domain that signed the message. This is the one to check. If it shows your provider’s domain rather than yours, DKIM is passing for them, not for you, and DMARC will fail on alignment even though the line says dkim=pass.
header.s=s1 — the DKIM selector used. If a checking tool reports DKIM failing while real mail passes, it is usually looking at a different selector than the one actually signing.
smtp.mailfrom= — the envelope sender, which is what SPF is evaluated against. Note in the example that it is on the provider’s domain, not yours. That is normal and correct; it is also exactly why SPF alone does not satisfy DMARC.
header.from=yourshop.com — the domain the reader sees, and the one DMARC cares about. DMARC passes here because DKIM passed for that same domain. That relationship is alignment, in one line.
Now the same header from a site with the most common misconfiguration:
dkim=pass [email protected] header.s=default;
spf=pass [email protected];
dmarc=fail (p=NONE dis=NONE) header.from=yourshop.com
SPF passes. DKIM passes. DMARC fails. Nothing is broken in the ordinary sense — the message was signed and authorised, just by the provider rather than by you. The fix is domain authentication at the provider, and nothing else will do it.
What each provider calls domain authentication
Every provider has this feature and every one names it differently, which is a large part of why it gets skipped. If you are looking for it:
| Provider | What to look for | The trap |
|---|---|---|
| SendGrid | Domain Authentication | Single Sender Verification is offered first and does not produce it |
| Amazon SES | Verified identity, domain type | Verification is per AWS region |
| Brevo | Authenticate your domain | A via line in the inbox means it is not done |
| Postmark | Sender Signature + Return-Path | The Return-Path record is separate and easily missed |
| Mailgun | Domain settings, DNS records | Sending and tracking records are listed together |
| Resend | Add and verify domain | Subdomains verify separately from the root |
Testing a site that is not live yet
A pre-launch site has a specific problem: you want to prove email works before customers depend on it, and half the usual signals are missing.
Authentication can be fully tested before launch, and should be. SPF, DKIM and DMARC are properties of your domain, not your site, so they can be published and verified while the site is still on a staging URL. There is no reason to leave this until launch day, and doing so is how launches go wrong.
Reputation cannot be tested, because it does not exist yet. A domain that has never sent mail has no history, and receivers treat a sudden volume of mail from an unknown domain cautiously. This is why a launch that sends several hundred emails on day one sometimes sees poor placement despite perfect configuration — nothing is misconfigured, the domain is simply unknown.
The mitigation is to start sending modest volumes of real, wanted mail before launch rather than going from zero to full volume in an afternoon.
Watch the From address specifically. Staging sites frequently send from a staging domain, and that configuration follows the site to production if nobody changes it. Mail then goes out authenticated against a domain nobody recognises. It is worth checking the received From address on the production site after go-live, not just before.
What “good” looks like
Useful as a target, since much of this topic is described in terms of failures.
| Signal | Healthy | Investigate |
|---|---|---|
| SPF, DKIM, DMARC on a real delivery | All three pass, aligned | Any failure, or DMARC failing alone |
| SPF DNS lookups | Under 10, with headroom | 8 or more |
| Hard bounce rate | Below 2% | Above 5% — providers act on this |
| Complaint rate | Below 0.1% | Anything higher |
| Time from trigger to inbox | Seconds | Minutes, or arriving in bursts |
| Queue backlog | Empty or briefly non-zero | Growing, or past-due entries |
| DMARC policy | quarantine or reject, with reports |
No record, or p=none indefinitely |
The last row is where most sites that have “fixed” deliverability actually stop. Publishing p=none and never revisiting it is extremely common — it produces reports nobody reads and enforces nothing, so a spoofed message claiming to be your domain is still delivered.
Three failures that look like deliverability and are not
Before spending a day on DNS, rule these out. Each produces “the email never arrived” and none is fixed by authentication.
The address is on a suppression list. Providers permanently stop sending to addresses that previously hard-bounced or marked mail as spam. If you have been testing with the same address for months, it may be suppressed — so your tests fail while every real customer receives mail normally. This is the single most misleading failure in the category, because it inverts the evidence. Check the provider’s suppression list before believing a failed test.
The message was never generated. WooCommerce order emails fire on status transitions, so an order stuck in Pending payment never sends a Processing email. Nothing is wrong with your mail configuration; the trigger did not happen. Logging tells you this in seconds.
The queue is not draining. If mail is deferred to a background queue and the queue has stalled, messages sit on your own server. Check WooCommerce → Status → Scheduled Actions for pending or past-due entries. The usual cause is WP-Cron, which only runs when somebody visits the site.
A sensible order to work through
- Send a test to Gmail and read
Authentication-Results. This tells you whether the problem is authentication or something else. - If SPF, DKIM and DMARC all pass but mail still lands in spam, stop editing DNS — the problem is reputation or content, not authentication.
- If the test cannot send at all, check connectivity before touching DNS.
- If mail sends and authenticates but arrives late, check your queue.
- Once it passes, put the check on a schedule. This is the step everybody skips, and it is why deliverability problems come back.
