Guide

WooCommerce order emails not sending? How to find where they stop

An order email passes four stages before it reaches an inbox, and it can stop at any of them. How to find the one where yours stop, and fix it for good.

Updated

The short answer

An order email can stop at four places. Check them in this order:

  1. Settings — the email is enabled under WooCommerce → Settings → Emails, with the right recipient and a From address on your own domain;
  2. The trigger — the order reached a status that sends it; orders on Pending payment or Failed send no confirmation;
  3. The hand-off — an email log plugin shows WordPress tried to send it and whether it failed;
  4. Delivery — your mail server accepted it, and SPF, DKIM and DMARC keep it out of spam.

For most stores the lasting fix is sending through SMTP or a transactional email service, not the host's mail function.

1. Check the email settings

Under WooCommerce → Settings → Emails, every email has its own row. Open the ones that matter —New order, Processing order, Completed order, On-hold order — and check:

  • Enable this email notification is ticked.
  • Recipient(s) of the admin emails — New order, Cancelled order, Failed order — is an address someone reads. It is often the address of whoever built the store.
  • At the bottom of the page, “From” address is on your store's own domain. An address at a free mail provider, sent from your server, is the classic way to land in spam or be refused.

2. Check the order reached a status that sends it

WooCommerce sends order emails when an order changes status, not when it is created. Processing order goes out when a payment completes, On-hold order for bank transfers and cheques, Completed order when you mark it so — and the New order email to you is sent on the same changes, out of Pending payment or Failed.

  • An order that stays on Pending payment sends nothing to the customer: the payment never confirmed — see orders stuck on Pending payment.
  • A Failed order sends no confirmation — at most a failed-payment notice, which recent WooCommerce versions include as a separate email — why payments fail.
  • If you change statuses in bulk or another system does it through the API, the same emails fire — or don't, if a plugin suppresses them.

To check one order, open it and read the order notes: a status change is recorded there, and many setups add a note when an email is sent.

3. Check WordPress actually sent it

WooCommerce passes every email to WordPress's wp_mail() function, and from there to the server. WordPress keeps no record of what it sent, so install an email log plugin and place a test order.

  • Not in the log — WooCommerce never tried. Go back to steps 1 and 2, or look for a plugin that changes order statuses or email templates.
  • In the log, marked failed — WordPress tried and the mail function or SMTP server refused. The error says why: a wrong password, a blocked port, a sender address that isn't allowed.
  • In the log, sent, but never arrived — a delivery problem. Go to step 4.

If you'd rather not install a plugin to see failures, WordPress fires a wp_mail_failed action with the error every time sending fails; a few lines of code can write it to your log.

4. Fix delivery: SMTP, SPF, DKIM and DMARC

By default, WordPress hands mail to the web server's own mail function. Many hosts limit or switch it off, and receiving mail servers trust it less than a real mail service. The lasting fix:

  1. Send through SMTP. An SMTP plugin routes wp_mail() through your mailbox provider or a transactional email service. Most such plugins have a test email button — use it.
  2. Publish SPF, a DNS record that lists which servers may send mail for your domain. Include the service you send through.
  3. Turn on DKIM, which signs each message so receivers can check it wasn't forged. Your email service gives you the DNS record to add.
  4. Add DMARC, which tells receivers what to do with mail that fails those checks. Large mailbox providers expect it from anyone who sends in volume.

Then send a test order to an address at one of the big mailbox providers, open the message's original source and check that SPF, DKIM and DMARC all say pass.

Still in spam? Look at the content: a subject or body that a plugin filled with nothing but a link, or a store name that looks like a well-known brand, gets filtered too.

Resend the emails that didn't arrive

Once mail works, open each affected order and use Order actions to send the order details to the customer, or resend the new order notification to yourself. Customers who never received a confirmation often write in or open a dispute believing the order didn't go through, so it is worth doing for every order since the problem began.

Where StorePilot helps

StorePilot doesn't send or monitor your store's emails — that stays with WooCommerce and your mail service. Two things it does are useful here:

  • Alerts that don't depend on your server's mail. A notification destination subscribed to Paid orders tells you about each paid order by email, Slack, Telegram or webhook. The mail is sent by StorePilot, so while your store's email is broken you still hear about orders.
  • Mail failures as issues. With the plugin installed, a few lines in your theme's functions.php report failed sends as an issue — and a destination subscribed to errors at the error level tells you when it starts:
add_action( 'wp_mail_failed', function ( $error ) {
    if ( function_exists( 'storepilot_capture' ) ) {
        storepilot_capture( 'Store email could not be sent', array(
            'reason' => $error->get_error_message(),
        ), 'error' );
    }
} );

The message stays the same for every failure, so they group into one issue; the reason goes in the context. Leave recipients out — the error tracker doesn't need anyone's email address.

Install the WordPress plugin, see how error tracking works, or read about notification destinations in the docs.

FAQ

Questions about this guide

Why am I not getting WooCommerce new order emails?

Check, in order: that the New order email is enabled under WooCommerce → Settings → Emails and goes to the right address; that the order reached a status that sends it; that an email log shows WordPress handing the message over; and that your mail server accepted it and it didn't land in spam. The step where it stops is the one to fix.

Why do customers get no order confirmation email?

Most often because the order never left Pending payment or Failed — customer emails are sent when an order becomes Processing, On hold or Completed. If the order is Processing and the email still doesn't arrive, it is a delivery problem: install an email log and an SMTP plugin.

Do I need an SMTP plugin for WooCommerce?

On most hosts it is the most reliable fix. By default WordPress hands mail to the server's own mail function, which many hosts limit or which receiving servers distrust. An SMTP plugin sends it through a real mailbox or a transactional email service that is authorised to send for your domain.

How do I resend a WooCommerce order email?

Open the order and use the Order actions box: it can send the order details to the customer or resend the new order notification to you. Choose the action and press the arrow beside it.

Know about every order, whatever your mail server does

Install the plugin, and paid orders, abandoned checkouts and errors reach you by email, Slack or Telegram, sent by StorePilot.

Start for free

Every feature on the Free plan, for 100 visitors a month. No card required.

Choose a plan

Plans from €29 a month, priced by your monthly visitors and the websites you connect.