When WooCommerce order emails do not arrive, the problem is in one of three places: WooCommerce never triggered the email, WordPress failed to hand it to a mail system, or the message was sent but not delivered or filed as spam. Work through those in order. Most stores that "stopped sending" are in the third group, and the lasting fix is to send through authenticated SMTP from a domain with SPF, DKIM and DMARC in place.
This guide gives a diagnostic order, the settings to check inside WooCommerce, a code snippet to log failures, SMTP configuration, and a table of symptoms. It builds on WordPress email troubleshooting, because WooCommerce uses the same wp_mail() function underneath.
Which emails WooCommerce sends and when
WooCommerce emails are tied to order status changes. A customer gets a "processing order" email when an order moves to Processing, and a "completed order" email when it moves to Completed. Admin gets a "new order" email on a new paid order. If the status never changes, the email never fires. This matters most with payment gateways: if the gateway's callback to your site fails, the order stays in Pending payment and no confirmation is sent, even though the money was taken.
| Trigger | Recipient | |
|---|---|---|
| New order | Order reaches Processing, On hold or from Pending | Store admin (configurable) |
| Processing order | Order moves to Processing | Customer billing email |
| Completed order | Order moves to Completed | Customer billing email |
| On-hold order | Order moves to On hold | Customer billing email |
| Refunded order | Full or partial refund | Customer billing email |
| Customer note | A note is added for the customer | Customer billing email |
| Reset password / new account | Account actions | Customer |
The exact list and names vary with the WooCommerce version and the extensions you install, so use the screen in your own dashboard as the reference.
Step 1: confirm WooCommerce is set to send
- In the dashboard open the WooCommerce settings and the Emails tab (menu labels can change between versions).
- Make sure each email you expect is enabled. Click it to check the recipient field for admin emails.
- Check the sender options: the From name and From address should use an address on your own domain.
- Open a test order and look at the order notes. Status changes are recorded there, and some email actions are noted too.
- Verify the customer's billing email is correct in the order. A typo explains "one customer did not get it".
- Check WooCommerce's status or log screens for fatal errors or gateway callback failures.
If an order stays in Pending payment after successful payment, fix the gateway callback first: a blocked webhook, a caching rule on the callback URL or a security plugin that rejects the gateway's request will all stop the whole order flow.
Step 2: log wp_mail failures
WooCommerce does not show mail errors by default. Capture them so you see what the mailer says. Put this in a must-use plugin or a child theme and enable WP_DEBUG_LOG in wp-config.php.
// wp-config.php
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
// must-use plugin
add_action('wp_mail_failed', function ($error) {
error_log('wp_mail failed: ' . $error->get_error_message());
});Then place a test order and read wp-content/debug.log. If you see a connection or authentication error, the problem is in the SMTP layer. If you see nothing and no email arrives, the failure is probably after hand-off, which means deliverability. Disable debugging when finished.
Step 3: send through authenticated SMTP
Default PHP mail() on a shared host is the leading cause of lost order emails. Switch to authenticated SMTP using an SMTP plugin or a phpmailer_init hook. This is a minimal hook that reads credentials from constants in wp-config.php.
// wp-config.php
define('MAIL_SMTP_HOST', 'smtp.migosmtp.com');
define('MAIL_SMTP_USER', 'smtp-username');
define('MAIL_SMTP_PASS', 'smtp-password');
// must-use plugin
add_action('phpmailer_init', function ($phpmailer) {
$phpmailer->isSMTP();
$phpmailer->Host = MAIL_SMTP_HOST;
$phpmailer->SMTPAuth = true;
$phpmailer->Port = 587;
$phpmailer->SMTPSecure = 'tls';
$phpmailer->Username = MAIL_SMTP_USER;
$phpmailer->Password = MAIL_SMTP_PASS;
});Use port 587 with STARTTLS, or 465 with 'ssl'. Make sure the From address in the WooCommerce email settings is on the domain you have verified with your sending service; a mismatch causes rejections at the relay and failed DMARC alignment at receivers. Port background is in choosing between ports 25, 465 and 587.
Step 4: authenticate the domain
Order emails are transactional and customers expect them within seconds. Receivers are strict about mail that claims to come from your domain without proof. Publish SPF to authorise your sending service, enable DKIM signing, and add a DMARC record. Use the SPF, DKIM and DMARC checker to confirm they pass, and read authenticating your sending domain for the record format. If you also use a plugin that sends through its own service, make sure SPF includes every real sender; see multiple vendors on one domain.
Step 5: check spam placement and content
- Ask the customer to check spam and promotions folders and mark the message as not spam.
- Keep subject lines factual: order number and store name, not promotional wording. See transactional email examples.
- Avoid putting marketing blocks or large images in order emails; keep the text clear and the HTML clean.
- Use a recognisable From name, such as the store name, and a reply address that works.
- Keep order mail on a stream separate from newsletters. See separating mail streams.
Troubleshooting
| Symptom | Likely cause | What to do |
|---|---|---|
| No emails for any order | wp_mail blocked or SMTP not set up | Enable logging and move to authenticated SMTP |
| Admin gets new-order email but customers do not | Customer address typo, or receiver filtering | Check billing email; test with another provider; review spam |
| Customers get emails late | Slow SMTP connection or relay deferral | Check provider events and timeouts |
| No processing email, order stays Pending | Gateway callback failing | Fix webhook or IPN, check security and caching plugins |
| Order emails stopped after a plugin update | Conflict or template override error | Disable plugins to isolate; clear theme overrides |
| Emails send but look broken | Theme template override out of date | Update or remove the override in the theme folder |
| SMTP Error: Could not authenticate | Wrong credentials | Re-enter them; see fixing 535 errors |
| Bounce says sender not allowed | From address not verified at relay | Verify the domain or use an authorised address |
Test with a real order
Place an order with a payment method that completes, using a customer address on a different provider from the admin address. Confirm that the processing email arrives, that the headers show SPF, DKIM and DMARC passing (see reading email headers), and that the link and totals in the message are correct. Then change the status to Completed and verify the second email. If you have a staging site, run through this there first; see testing email in staging.
Keep it working
Monitor delivery rather than waiting for customers to complain. Subscribe to bounce and complaint events from your sending service, and review them weekly. Remove addresses that hard bounce so the same failures do not repeat. After site migrations or host changes, re-test order email on the same day, since outbound firewall rules and PHP settings often change. Document the sending setup so that a future developer knows which service and credentials are used.
Reliable WooCommerce order emails Send order mail through the MigoSMTP relay on 587 or 465 with authenticated delivery and event webhooks.
References and further reading
Frequently asked questions
Why are WooCommerce order emails not sending?
Either WooCommerce did not trigger them, WordPress could not hand them to a mailer, or they were sent but filtered. Check each stage in order.
Why do admin emails arrive but customer emails do not?
Often the customer billing address is wrong, or the receiving provider filters mail from an unauthenticated sender. Authenticate the domain and test other providers.
Why does my order stay in Pending payment?
The payment gateway callback is probably failing, so WooCommerce never receives the paid status and does not send the processing email.
Do I need an SMTP plugin for WooCommerce?
You need authenticated SMTP, via a plugin or a phpmailer_init hook. Default PHP mail() is unreliable for transactional mail.
How do I test WooCommerce emails safely?
Place a real test order with a completing payment method, use a different mailbox provider and check the received headers for SPF and DKIM.