WooCommerce

WooCommerce Not Sending Order Emails: Causes, Fixes, and the Checkout Trap

A missing WooCommerce order email is a support ticket, a chargeback risk, and a customer who assumes their order failed. It is also several unrelated problems wearing the same symptom.

This guide separates them, then covers a failure mode specific to WooCommerce that most email troubleshooting misses entirely: sending mail during checkout can cost you the order.

Start with the email that is missing

WooCommerce sends different emails to different people on different triggers, and knowing which one is missing narrows the cause immediately.

  • Customer emails not arriving, admin emails fine — delivery works. The problem is almost certainly authentication or reputation, because your own address is likely on the same domain or already trusted.
  • Admin emails not arriving, customer emails fine — usually the admin recipient address, not delivery. Check it under each email at WooCommerce → Settings → Emails; it is a separate field from the site admin address.
  • Nothing arriving at all — a site-wide sending failure. Work through the general WordPress email diagnosis first.
  • One specific email type missing — check that email is enabled. Each has its own toggle, and a disabled one is not a delivery fault.

The status trap

WooCommerce order emails fire on status transitions, not on order creation. This causes a very specific confusion.

The “Processing order” email sends when an order moves to Processing — which normally happens on successful payment. An order stuck in Pending payment never reaches that status, so no email is sent, and nothing is broken. The payment did not complete.

Orders paid by bank transfer or cheque go to On hold instead, which sends a different email. If you expected the Processing one, it will look missing.

Before investigating delivery, open the order and check its status history. If the transition never happened, the email was never meant to send.

The checkout trap: why sending mail during checkout is risky

This is the part that is rarely covered, and it matters more than the volume of discussion suggests.

By default, order emails are sent inside the checkout request. The customer clicks Place Order, and before they see the confirmation page, your server opens a connection to your mail provider, authenticates, transmits the message, and waits for a response.

Two things follow, and the second is worse than the first.

Checkout gets slower

An SMTP handshake takes time — typically one to three seconds, more if the provider is slow or distant. Reports on the WooCommerce issue tracker describe checkout going from around two seconds without an SMTP plugin to eleven seconds or more with one, reproduced using Cash on Delivery so no payment gateway was involved. Disabling order notifications made checkout fast again.

This is not a bug in any SMTP plugin. It is what synchronous sending means.

A failed email can cost you the order

This is the serious one. If sending throws an error at the wrong moment, the checkout request can fail after the order has been created and the payment taken. The customer sees a generic error:

Something went wrong. Please try placing your order again.

So they place it again. Now you have two orders and, depending on the gateway, two payments — from a customer who believes the first attempt failed.

The underlying request has been raised with WooCommerce and closed as not planned. There is no core fix coming, which means this stays the responsibility of the email layer.

The fix

Take email off the checkout request. Only payment and order creation should block the response; the notification can be sent immediately afterwards, out of band.

NimblyMail does this with a background queue built on Action Scheduler. The checkout request hands the message to the queue and returns, and the message is transmitted in a separate process moments later. The customer gets their confirmation page at the speed of the order, not the speed of your mail provider, and a transport error cannot fail the checkout request because the checkout request is already finished.

Two details worth knowing if you enable it:

  • Messages carry a priority. A password reset should not queue behind a bulk send. Priorities are High, Normal and Bulk, and any plugin can set one per message with the X-Nimbly-Mail-Priority header or the nimblymail_priority filter, without changing any settings.
  • Attachments are staged. Queued mail is sent after the request that created it has ended, so a temporary file — a generated PDF invoice, typically — would normally be gone by then. Attachments are copied into a staging directory on enqueue so delayed delivery still has them.

The queue is a setting rather than a default, so it is a deliberate switch you turn on.

Customising order emails without breaking delivery

Two customisations are near-universal on stores and both can cause the symptoms in this article, so they are worth checking if you have made either.

Changing the From address. WooCommerce lets you set a From name and address under Settings → Emails, and this is the single most common way a working store starts failing DMARC. If you set it to an address on a domain you do not control — a Gmail address, or a client’s personal address — authentication cannot align and mail from your store will be treated as unauthenticated. It must be an address on a domain you can publish DNS records for.

Overriding templates. Copying WooCommerce’s email templates into your theme is supported and normal. The risk is that a template copied from an older version stops receiving changes, and a PHP error inside an email template throws during the checkout request — which, if mail is sent synchronously, can fail the order. If you override templates, check them after WooCommerce updates.

Recovering from duplicate orders

If the checkout failure described above has already happened to you, the cleanup is worth knowing.

Look for pairs of orders with the same customer, same total, and timestamps within a few minutes. The second is usually the retry. Before cancelling either, check whether the payment captured twice — the gateway is authoritative here, not WooCommerce, since the whole failure mode involves a payment succeeding while the order request failed.

Then refund the duplicate through the gateway rather than only cancelling the order in WooCommerce, or the customer keeps the charge.

To stop it recurring, the fix is the architectural one: move email off the checkout request, so a transport error cannot fail a request that has already taken money. Anything else — a faster provider, a shorter timeout — reduces the probability without removing the failure mode.

A store-specific checklist

Check Where Looking for
Order reached a sending status Order status history Processing, not Pending payment
Email type enabled Settings → Emails Each has its own toggle
Admin recipient address Per email, in the same screen A monitored address
From address on your own domain Settings → Emails Never a free-mail address
Message generated at all Email log Present, and its status
Provider accepted it Provider dashboard Delivered, bounced or suppressed
Queue draining Status → Scheduled Actions No past-due backlog
Authentication aligned Gmail → Show original dmarc=pass

If the queue is enabled and mail is now late

Deferred sending depends on Action Scheduler actually running. Check WooCommerce → Status → Scheduled Actions.

Pending or past-due actions accumulating means the scheduler is not being triggered. The usual cause is WP-Cron, which only runs when somebody visits the site — so a low-traffic store processes its queue erratically. Disable WP-Cron and add a real system cron every five minutes:

define( 'DISABLE_WP_CRON', true );
*/5 * * * * curl -s https://example.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1

Which WooCommerce email fires when

Most “missing email” reports resolve here, because the email was never supposed to send. WooCommerce triggers on status transitions, and knowing the map tells you instantly whether you have a delivery problem or a status problem.

Email Goes to Fires when
New order Admin Order reaches Processing (or On hold for offline payment)
Processing order Customer Payment succeeds and status becomes Processing
Completed order Customer Status is set to Completed, usually by you
Order on hold Customer Bank transfer, cheque, or a held payment
Cancelled / Failed Admin Payment fails or the order is cancelled
Customer invoice Customer Only when you send it manually
New account Customer Account created at checkout or registration
Password reset Customer Reset requested — this is WordPress core, not WooCommerce

Two consequences worth internalising. An order sitting in Pending payment has sent nothing to the customer and is not supposed to have — the payment did not complete. And Completed order emails are frequently reported missing on stores that never move orders past Processing, which is a workflow gap rather than a mail fault.

How many emails one order actually sends

Worth counting, because it explains the checkout cost. A single order on a typical store sends the New order admin notification and the Processing order customer notification immediately — two messages, both inside the checkout request if sending is synchronous. A store creating accounts at checkout adds a third.

At two to three sequential SMTP handshakes, each taking one to three seconds, the arithmetic behind an eleven-second checkout stops being mysterious. This is also why the fix is architectural rather than a matter of choosing a faster provider.

Testing without placing real orders

You do not need to buy something to test order email. Three approaches, in increasing fidelity:

  1. Resend from an existing order. Open any order, and under Order actions choose to resend an email. This exercises the real template and the real mail path.
  2. Enable an offline payment method temporarily — Cash on Delivery — and place a test order. This produces genuine status transitions without a gateway. It is also how the checkout-speed reports were reproduced, since it removes gateway latency from the measurement.
  3. Force a status change on a test order and watch which emails fire. This is the fastest way to confirm the status map above matches your store’s configuration.

Whichever you use, check your email log afterwards rather than only your inbox. A message logged as sent but absent from the inbox is a completely different problem from one that was never generated.

High-volume stores

Two things change once a store sends more than a trickle.

Provider rate limits become real. Amazon SES enforces a per-second send rate; mailbox providers such as Gmail and Microsoft 365 enforce daily caps designed for humans, commonly 500 or 2,000 messages a day. A sale can exceed these in an hour, and the failure looks like random missing emails rather than a clear error. A queue that paces delivery handles this; sending everything at once does not.

Bounces start to matter. Providers suspend accounts with high bounce or complaint rates — Amazon SES expects bounces under 5% and complaints under 0.1%. Stores with mistyped checkout addresses accumulate these quietly. Configure bounce notifications before you need them.

When customer emails specifically go to spam

If admin notifications arrive and customer ones do not, you have a trust problem rather than a delivery problem, and it is fixed in DNS.

Send a test to a Gmail address, open Show original, and read Authentication-Results. You need spf=pass dkim=pass dmarc=pass. Passing SPF and DKIM while failing DMARC means alignment: authentication passed for your provider’s domain rather than the one in your From address. Complete domain authentication at your provider to fix it.

One store-specific point: sending order emails from a From address on a domain you do not control — a Gmail or Yahoo address — will fail DMARC no matter what you configure, because those domains publish policies telling receivers to reject mail sent on their behalf by third parties. Order emails must come from your own domain.

Checklist

  1. Confirm the order actually reached the status that sends the email.
  2. Confirm that email type is enabled and the recipient address is right.
  3. Log emails to establish whether the message was generated, sent, or dropped.
  4. Check your provider’s dashboard for bounces and suppressions.
  5. Move sending off the checkout request so a mail failure cannot fail an order.
  6. If mail is queued, verify Action Scheduler is running on a real cron.
  7. Fix SPF, DKIM and DMARC alignment, sending from your own domain.
N
Ndeni

Leave a Reply

Your email address will not be published. Required fields are marked *