Skip to content

WordPress WooCommerce email delivery — the special case

WooCommerce sends order, refund, and shipping emails that customers absolutely need to receive. Here are the WooCommerce-specific delivery patterns and the diagnostic that most stores need.

A WooCommerce store fails when order-confirmation emails go missing — the customer doesn’t know the order was placed, they retry, they call support, the support team retries, and now there are duplicate orders. WooCommerce email delivery is the most operationally important transactional mail path on a WordPress site. It’s also the most plugin-tangled: the core WooCommerce emails, a dozen extensions that add their own emails, and the SMTP plugin that’s supposed to send all of them.

What’s happening

WooCommerce ships 11 default emails: new order, cancelled order, failed order, order on-hold, processing order, completed order, refunded order, customer invoice, customer note, reset password, new account. Each one is registered as a WC_Email subclass that calls WC()->mailer()->send(), which goes through wp_mail(), which goes through your SMTP plugin.

Three WooCommerce-specific things complicate the chain:

  1. The “WooCommerce” template wrapper. WooCommerce wraps every email in a styled template defined under WooCommerce > Settings > Emails. Customizations override the template; missing the override produces unbranded emails.
  2. Per-email recipient logic. New-order goes to the admin email. Customer emails go to the customer. Subscription-plugin emails can go elsewhere. The recipient is set on the email object; a misconfigured recipient results in admin notifications landing in customer inboxes.
  3. Extension-added emails. WooCommerce Subscriptions, WooCommerce Memberships, Action Scheduler-backed extensions all add their own WC_Email subclasses. Each one needs the same delivery audit as core emails.

The Failed Order email is the most diagnostic — if it isn’t reaching the admin, you don’t know about transient payment-gateway failures.

How to verify

wp wc tool run send_test_email --user=1
wp option get woocommerce_email_from_address
wp option get woocommerce_email_from_name
wp db query "SELECT post_id, meta_key, meta_value FROM wp_postmeta \
  WHERE meta_key='_billing_email' ORDER BY meta_id DESC LIMIT 5"

The WooCommerce “Send test email” tool (in Settings > Emails > [click any template]) sends a real email through the full stack. If it lands, the core path is working; if it doesn’t, you have a delivery problem upstream of WooCommerce.

For specific orders, check the order notes — WooCommerce logs “Order email sent to…” automatically on each send.

The fix

  1. Set the WooCommerce From address to a real mailbox on the sending domain. noreply@example.com or orders@example.com — not wordpress@server-7.host.com, not the admin’s personal Gmail.
  2. Verify each of the 11 core emails has a recipient set correctly. Admin emails default to “WooCommerce email recipient” (Settings > Emails > New order > Recipient(s)). Customer emails get the customer’s billing address — confirm the test order’s _billing_email is correct.
  3. Test every email path before launch. Place a test order, mark it as Processing, then Completed, then issue a partial refund. Confirm Customer Processing Order, Customer Completed Order, and Customer Refunded Order all arrive at the test customer’s inbox.
  4. For high-volume stores, decouple WooCommerce email send from the checkout request. WooCommerce by default sends the new-order email synchronously during the checkout request, which can add 500ms+ of latency. Move it to Action Scheduler with woocommerce_async_email_processing.
  5. Audit extension-added emails the same way. WooCommerce Subscriptions adds 6 emails. WooCommerce Memberships adds 3. Each one is a separate template with its own recipient and delivery path.
  6. Set the From per email type via the woocommerce_email_from_address filter if you want different addresses for different email classes (e.g. orders@ for transactional, support@ for failed-order notifications to admin). On Enterprise WordPress WooCommerce sites, the per-email-type From discipline is part of the cutover checklist.

WooCommerce email failures are a top-tier incident class — Stack Harbor instruments Enterprise WordPress WooCommerce sites with the full per-email delivery confirmation, the async send queue, and the post-launch audit of every transactional path. If your WooCommerce store has customers missing order confirmations, the audit is the fix.