# How to fix WooCommerce order emails going to spam

> Source: https://ththeme.net/woocommerce-order-emails-going-to-spam/ | Updated: 2026-12-05 | License (data): CC BY 4.0

WooCommerce order emails land in spam primarily because WordPress defaults to unauthenticated PHP `mail()` sent from your web host's shared IP instead of a signed transactional mailer. Replace PHP mail with an authenticated SMTP plugin (such as free FluentSMTP) connected to Amazon SES, Postmark, Mailgun or Brevo, publish matching SPF, DKIM and DMARC DNS records on your sending domain, and keep spam complaints below Google's 0.3% ceiling.

## Key facts
- Default WordPress PHP mail() adds no DKIM signature for your store domain
- Gmail requires SPF or DKIM for all senders, and SPF, DKIM and DMARC for 5,000+ messages per day
- RFC 7208 caps SPF records at 10 DNS lookup evaluations; exceeding 10 causes SPF PermError
- Google and Yahoo specify keeping user-reported spam rates below 0.3% (ideally under 0.1%)
- Separate marketing newsletters from transactional receipts using a subdomain (for example, mail.store.com)

## Common causes of WooCommerce emails missing the inbox

| Symptom | Usual root cause | Direct fix |
| --- | --- | --- |
| Emails never arrive anywhere | Host blocks PHP mail() or outbound port 25/587 | Connect SMTP plugin via provider HTTP API (HTTPS 443) |
| Receipts land in Gmail Spam | Missing DKIM signature or misaligned From domain | Verify sending domain in Postmark/SES and force From address |
| Outlook/Microsoft 365 rejects | Shared hosting IP on blocklist or SPF > 10 lookups | Move off shared web-server IP and flatten SPF includes |
| Admin new-order alert missing only | From equals To address triggering anti-spoof filter | Send from orders@domain.com to a distinct inbox or alias |
| Delayed 30+ minutes during flash sale | WP-Cron bottleneck or hourly host mail cap | Use transactional API provider and Action Scheduler system cron |

## 1. Replace PHP mail with a transactional API

WooCommerce passes order receipts through WordPress's `wp_mail()` function, which calls PHP `mail()` unless a plugin overrides it. Install a dedicated SMTP plugin such as [FluentSMTP or WP Mail SMTP](https://ththeme.net/fluentsmtp-vs-wp-mail-smtp/) and send over HTTPS API keys instead of plain SMTP passwords.

- **Recommended transactional providers:** Postmark, Amazon SES, Brevo, Mailgun or SendLayer.
- **Avoid using a free consumer mailbox** (`@gmail.com` or `@yahoo.com`) as the WooCommerce From address; DMARC rejects spoofed consumer domains.
- **Turn on email logging and a fallback mailer** so a single API outage does not drop paid-order receipts.

## 2. Fix WooCommerce email settings and From address

Open **WooCommerce > Settings > Emails** and scroll to Email sender options:

- Set the **From address** to a real address on your verified sending domain (for example, `orders@yourdomain.com`).
- Enable **Force From Email** inside your SMTP plugin so third-party quote, booking or contact-form plugins cannot spoof a customer's email in the From header (put customer emails in `Reply-To` instead).
- Confirm the target emails (Processing order, Completed order, New order) are actually enabled and set to send to the right status hook.

See our [WooCommerce email customization guide](https://ththeme.net/how-to-customize-woocommerce-emails/) before editing template layouts or images.

## 3. Verify SPF, DKIM and DMARC alignment

Mailbox providers evaluate authentication on the message header your server emits, not just your plugin dashboard:

- **SPF:** exactly one `v=spf1` TXT record per sending host, staying at or under 10 DNS lookups ([RFC 7208](https://datatracker.ietf.org/doc/html/rfc7208#section-4.6.4)).
- **DKIM:** publish the 2048-bit (where supported) CNAME or TXT signing key from your transactional mailer and verify it signs the same domain shown in the visible From header.
- **DMARC:** publish a `_dmarc.yourdomain.com` TXT record starting at `p=none` with an aggregate report address (`rua=`), then tighten to `p=quarantine` or `p=reject` after verifying all legitimate senders pass.

For exact DNS record examples, read [SPF, DKIM and DMARC for WooCommerce](https://ththeme.net/spf-dkim-dmarc-for-woocommerce/). You can test your live domain records with the free SPF, DKIM and DMARC checkers at [DeliverabilityRecovery](https://deliverabilityrecovery.com/) (same owner as THTheme), which also offers 24-hour deliverability audits ($1,500) and repair when reputation or blocklist issues persist.

## 4. Isolate transactional mail from marketing blasts

A promotional campaign with a 0.5% spam complaint rate can poison domain reputation and send paid customer order receipts to spam. Use a dedicated subdomain for one stream, such as `orders.yourdomain.com` for WooCommerce receipts and `news.yourdomain.com` for Klaviyo or Mailchimp newsletters, each with its own DKIM keys and verified return path.

Send a test order to both a Gmail and an Outlook inbox, open **Show original** (or Message Source), and confirm three passes: `SPF: PASS`, `DKIM: PASS` and `DMARC: PASS`.

## FAQ

### Why does WooCommerce show Processing Order sent when the customer received nothing?

WooCommerce marks an email as triggered once wp_mail() returns without a local PHP error. It does not track whether the receiving server quarantined, bounced or dropped the message. Enable an SMTP log or check your transactional provider's delivery events.

### Should I use Gmail or Google Workspace to send WooCommerce order emails?

Google Workspace works for very low-volume stores (a handful of orders per day), but dedicated transactional APIs such as Postmark or Amazon SES handle spikes, bounce logs, DKIM isolation and suppressions far better.

### Do transactional WooCommerce receipts need a one-click unsubscribe link?

Per Google's email sender guidelines, one-click unsubscribe headers apply to marketing and promotional messages, not transactional order confirmations or password resets.

### Can two SMTP plugins run at the same time?

No. WordPress allows only one plugin to plug or filter wp_mail() cleanly. Keep one SMTP plugin active and configure a fallback connection inside it if needed.

## Sources
- [WooCommerce: Email Troubleshooting FAQ](https://woocommerce.com/document/email-faq/)
- [Google: Email sender guidelines](https://support.google.com/mail/answer/81126)
- [Yahoo Sender Hub: Sender best practices](https://senders.yahooinc.com/best-practices/)
- [RFC 7208: Sender Policy Framework (SPF)](https://datatracker.ietf.org/doc/html/rfc7208#section-4.6.4)
