A customer who pays and receives nothing assumes the order failed. That turns into support tickets, duplicate orders and chargebacks. When order confirmation emails stop, there are two very different causes: Magento never sent them, or it sent them and they never arrived.

Step 1: did Magento send it?

Magento marks each order once its confirmation email is sent. Count recent orders that were never marked:

SELECT increment_id, created_at FROM sales_order
 WHERE send_email = 1 AND email_sent IS NULL
   AND created_at < DATE_SUB(UTC_TIMESTAMP(), INTERVAL 1 HOUR)
 ORDER BY created_at DESC LIMIT 20;

If this returns orders, Magento has not sent their emails. Go to step 2. If it returns nothing, Magento sent them, so go to step 3.

Step 2: Magento did not send them

When Asynchronous sending is enabled (Stores > Configuration > Sales > Sales Emails > General Settings), emails are sent by a cron job, sales_send_order_emails. Check whether it runs:

SELECT status, executed_at, messages FROM cron_schedule
 WHERE job_code = 'sales_send_order_emails'
 ORDER BY scheduled_at DESC LIMIT 5;
  • No rows, or old rows: cron is not running. Fix that first (see Magento 2 cron not running). The waiting emails are sent on the next few runs.
  • Status “error”: read the messages column. It usually names an SMTP or template problem.

Also confirm email sending is not disabled entirely under Stores > Configuration > Advanced > System > Mail Sending Settings.

Step 3: Magento sent them, but they never arrived

The problem is delivery, not Magento.

  • SMTP extensions such as Mageplaza SMTP or Mirasvit keep their own logs and sometimes their own queue. Check there for errors.
  • SPF and DKIM records must exist for the domain you send from. Without them, many providers silently discard transactional mail.
  • The server’s own mail (sendmail or Postfix) is often blocked by hosting providers. A proper SMTP service is far more reliable.

Resending to affected customers

In the admin, open each affected order and use Send Email at the top of the order page.

Catch it automatically

MageMonitor checks for this every few minutes as part of its Magento health checks, and alerts you by email, Slack or webhook the moment it appears, with the exact commands to fix it. See MageMonitor for Magento 2.

Related fixes