A customer reports their WordPress emails are landing in spam. The plugin says “Sent.” The upstream says “Delivered.” Gmail says “spam folder.” The diagnosis is not “the email looks spammy” — it’s almost always a specific, fixable configuration gap that an audit catches in under an hour. Run the audit in this order, because it’s the order failures actually appear.
What’s happening
Gmail, Outlook, and the major receivers run a layered classification on every inbound message. Authentication (SPF + DKIM + DMARC alignment), sender reputation (the IP and the domain), content patterns (link density, image-only emails), and engagement signals (does the recipient open and reply, or does the message sit unread for weeks). A WordPress install that sends from a misconfigured authentication chain fails the first layer and never reaches the others. Most spam-folder tickets are layer-1 failures with a layer-3 explanation pasted on top.
The seven configurations that produce 90% of “going to spam” tickets:
- DKIM not published. The plugin signs, DNS has nothing.
- SPF lists the wrong sender. The plugin sends via SendGrid; SPF says only the cPanel host.
- DMARC
p=rejectwith misaligned From. Awp_mailfilter rewrote the From to a different domain than what DKIM signed. - Shared-IP reputation. The sending IP is on a Spamhaus or Barracuda list because another tenant abused it.
- From address looks fraudulent.
info@example.comfor a transactional message reads as marketing to the receiver. - HTML-only body, no plain-text alternative. Image-heavy emails without a text part score worse.
- No List-Unsubscribe header on bulk-ish sends. Gmail’s 2024 sender rules require it; without it, marketing-volume sends from WordPress are penalized.
How to verify
Run the audit:
dig +short TXT example.com | grep -i spf
dig +short TXT default._domainkey.example.com
dig +short TXT _dmarc.example.com
Then send a test through the plugin to a mail-tester.com or similar address. The report grades each layer. Score under 8/10 means at least one layer is broken; the report tells you which.
Check the receiver’s verdict in the original headers. In Gmail, “Show original” surfaces the Authentication-Results: header — look for spf=pass, dkim=pass, dmarc=pass with header.from= matching the domain.
wp option get blogname
wp option get admin_email
The blog admin email is often the From address by default. If it’s admin@gmail.com on a site that should send as support@example.com, every receiver sees a domain mismatch.
The fix
- Authenticate the domain in DNS. Publish SPF, DKIM, and DMARC. Use the foundational pattern in our SPF/DKIM/DMARC reference. For DMARC, start at
p=nonewithrua=reporting until you have at least two weeks of clean reports. - Set From Email to a mailbox on the sending domain. Not
wordpress@server-7.host.com, not the admin’s Gmail.noreply@example.comis the minimum acceptable shape. - Audit
wp_mailfilters that rewrite From. Some plugins (especially form builders and WooCommerce extensions) override the From address. The override must be on the same domain DKIM signs for, or DMARC fails alignment. - Check shared-IP reputation. If you’re on a hosting provider’s shared SMTP, the IP belongs to many tenants. Look it up in Talos, Sender Score, MXToolbox. If the IP is on a list, switch to an authenticated upstream (Postmark, SES, Mailgun) and stop relying on the hosting MTA.
- Add a plain-text alternative. WP Mail SMTP and FluentSMTP both support this in the plugin config. Without it, HTML emails are penalized.
- Add
List-UnsubscribeandList-Unsubscribe-Postheaders on bulk-ish sends. Required for high-volume senders to Gmail since Feb 2024. - Re-test at mail-tester.com. Aim for 10/10. Anything less is still a layer that some receiver class will penalize. For an Enterprise WordPress account, every site we manage gets a 10/10 baseline before launch.
Stack Harbor runs full deliverability audits as part of Enterprise WordPress operations — the seven configurations above, plus the engagement-signal patterns receivers actually read. If your WordPress emails are landing in spam and you’ve tried “switching SMTP plugins” without luck, the audit is the actual fix.