New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
TroubleshootingUpdated 4 Nov 2026

WooCommerce Emails Not Sending: Order Email and SMTP Fixes

How to find out why WooCommerce order emails are not arriving: whether WooCommerce triggered them, whether WordPress sent them and whether they were delivered, with SMTP setup, status-trigger checks, authentication and a troubleshooting table.

KM
Written by Kwame Mensah
Billing and Account Specialist
Reviewed by Ishita Rao
  • Published2 May 2024
  • Read time6 min
  • Length1,244 words
Share this guide

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.

Three stagesTriggered by WooCommerce, sent by WordPress, delivered by the mail system
Most common causeDefault PHP mail() without authentication, so mail is rejected or filed as spam
Lasting fixAuthenticated SMTP with TLS plus SPF, DKIM and DMARC on the From domain
Test withA real test order using a payment method that completes

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.

EmailTriggerRecipient
New orderOrder reaches Processing, On hold or from PendingStore admin (configurable)
Processing orderOrder moves to ProcessingCustomer billing email
Completed orderOrder moves to CompletedCustomer billing email
On-hold orderOrder moves to On holdCustomer billing email
Refunded orderFull or partial refundCustomer billing email
Customer noteA note is added for the customerCustomer billing email
Reset password / new accountAccount actionsCustomer

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

  1. In the dashboard open the WooCommerce settings and the Emails tab (menu labels can change between versions).
  2. Make sure each email you expect is enabled. Click it to check the recipient field for admin emails.
  3. Check the sender options: the From name and From address should use an address on your own domain.
  4. Open a test order and look at the order notes. Status changes are recorded there, and some email actions are noted too.
  5. Verify the customer's billing email is correct in the order. A typo explains "one customer did not get it".
  6. 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

SymptomLikely causeWhat to do
No emails for any orderwp_mail blocked or SMTP not set upEnable logging and move to authenticated SMTP
Admin gets new-order email but customers do notCustomer address typo, or receiver filteringCheck billing email; test with another provider; review spam
Customers get emails lateSlow SMTP connection or relay deferralCheck provider events and timeouts
No processing email, order stays PendingGateway callback failingFix webhook or IPN, check security and caching plugins
Order emails stopped after a plugin updateConflict or template override errorDisable plugins to isolate; clear theme overrides
Emails send but look brokenTheme template override out of dateUpdate or remove the override in the theme folder
SMTP Error: Could not authenticateWrong credentialsRe-enter them; see fixing 535 errors
Bounce says sender not allowedFrom address not verified at relayVerify 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.

Explore the SMTP relay

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.

Topics#woocommerce#order emails#wordpress#smtp#troubleshooting#ecommerce
Was this guide helpful?Your answer helps us improve our documentation.

Start sending in minutes.

Create an account, add your domain and send your first email.

Get started Talk to sales