PrestaShop not sending order emails: how to find out where they get lost

PrestaShop not sending order emails

When PrestaShop is “not sending emails”, two very different things can actually be happening: PrestaShop never sends the email, or it sends it and it never arrives, because it gets lost on the server or ends up in the customer’s spam folder. They are fixed in different places, and almost all the time lost on this problem goes into fixing the wrong one.

There is one PrestaShop screen that tells the two apart in a minute. Start there.

How to tell what is happening to you

1. Pin down which email is failing. These are not the same:

What fails Who sends it
The customer does not receive the order confirmation, the shipping notice or the payment notice PrestaShop, when the order status changes
You do not receive the “new order” alert The mail alerts module (ps_emailalerts), not the core
No email arrives at all: no orders, no password recovery, no contact form The sending configuration of the whole shop
They arrive, but in spam Your domain’s authentication

2. Open the email log. Advanced Parameters > E-mail. The top part of the page lists the emails the shop has sent, with the recipient, template, language, subject and time (email in PrestaShop). Look up the failed order by the customer’s email address.

  • If the email appears in the log, PrestaShop generated it. The problem is further on: in the server sending it or in the inbox receiving it.
  • If it does not appear, PrestaShop never tried. The problem is inside the shop.
PrestaShop's email log shows whether the email is not being sent or not arriving
If the email is in the log, the failure is after PrestaShop. If it is not, it is inside.

3. Check which sending method you have. On the same page, PrestaShop lets you choose between PHP’s mail() function, your own SMTP parameters or not sending any email at all (email in PrestaShop). If someone ticked “Never send emails” during a test and never changed it back, there is your answer.

4. Send a test email. At the bottom of that page, in the configuration test, enter your address and click send. Send it to a Gmail account and an Outlook account, not just to your own domain.

Is this happening to you right now?

Leave us the URL and what you are seeing. A technician will look at it today and tell you what it is before touching anything.

We reply within 24 working hours.

Why it happens

Why PrestaShop does not send order emails, depending on the email log
Order statuses, templates, mail() on shared hosting or an unauthenticated domain.

If the email is not in the log

  • The order status is not set to send email. Each status decides whether it emails the customer and with which template, in Shop Parameters > Order Settings > Statuses. If “Payment accepted” or “Shipped” had “Send an email to the customer” unticked, nothing goes out. It happens a lot after creating custom statuses or installing a payment module that creates its own.
  • The order never reached that status. If the payment module does not update the status when the customer comes back from the bank, the order stays “Awaiting payment” and the payment accepted email never fires.
  • There is no template in the customer’s language. If a customer buys in a language that has no email templates, sending fails.

If the email is in the log and does not arrive

  • You are sending with mail() from shared hosting. The email goes out from the server’s IP, shared with other websites, and without your domain’s signature. It is the most common reason order emails end up in spam or get lost.
  • Your domain is not authenticated. Since February 2024, Gmail requires everyone who sends it email to have SPF or DKIM set up on their domain, and those sending more than 5,000 a day must also have DMARC (sender guidelines, Google). To Gmail, an unauthenticated order email is a suspicious email.
  • The sender address is not on your domain. If the shop sends as yourshop@gmail.com through your server, the email almost always fails the checks.
  • The SMTP details have changed. A changed email password, or a provider that no longer accepts the normal password and asks for an app password, and the shop stops sending without telling anyone.

How to fix it

If the email is not in the log

Open Shop Parameters > Order Settings > Statuses, edit each status that should notify the customer (payment accepted, processing in progress, shipped, delivered, cancelled, refunded) and check that sending an email is ticked and a template is selected. Then place a test order and change its status by hand: the email should appear in the log straight away.

If the problem is the new order alert you receive, check in Modules that the mail alerts module is enabled and has your address.

If the email is in the log and does not arrive

Switch sending to SMTP with a transactional email service, or with your domain’s email account, in Advanced Parameters > E-mail > Set my own SMTP parameters. The details (server, username, password, encryption and port) come from your provider. Use TLS encryption on port 587, or SSL on 465 if your provider asks for it.

Then authenticate the domain. These are three records in the DNS zone, which your email provider gives you:

  • SPF, which says which servers may send email on behalf of your domain.
  • DKIM, which signs each email. PrestaShop also lets you switch on DKIM signing from the same email page (email in PrestaShop), but if you send through a transactional service, the service adds the signature.
  • DMARC, which says what to do with emails that fail both checks. Start with p=none to observe before tightening it.
SPF, DKIM and DMARC records so PrestaShop emails arrive
Three DNS records, edited and never duplicated, so Gmail and Outlook trust your emails.

And the final check: send the test email to a Gmail account, open the message, click Show original, and check that SPF, DKIM and DMARC say PASS.

What changes when it works

What a PrestaShop order email that never arrives costs: queries, double orders and disputes
Every lost order email ends up as a query, a double order or a dispute.

An order email that never arrives is not just a customer without a confirmation. It is a customer who writes to ask whether the order went through, another who buys twice just in case and another who opens a dispute with the bank because they have no proof of purchase. When emails land in the inbox, those queries drop, and the shipping email with the tracking number stops being a phone call.

What breaks if you get it wrong

  • Touching the DNS records without knowing what is there. A second SPF record invalidates both. You have to edit the existing one, not add another.
  • Setting DMARC to p=reject on day one. If anything you send (office email, a CRM, the newsletter) is not authenticated, it stops being delivered.
  • Sending from a personal Gmail account over SMTP. It works for a few days and has daily sending limits that a shop running campaigns will exceed.
  • Unticking status emails “so they do not bother customers”. The customer expects the shipping email. If you remove it, they will be the one calling you.
  • Testing only with your own email. Your inbox already trusts your domain. Your customers’ inboxes do not.

If, on top of emails not arriving, you have hundreds of new customers who never buy, your shop may be sending email to strangers: we cover it in fake sign-ups and spam in PrestaShop (in Spanish).

When you cannot do this yourself

The order statuses and the test email you can do yourself from the back office in ten minutes. The DNS, if you are not sure where your domain’s zone is or what other services send email on your behalf, better not. That is part of our PrestaShop maintenance service (in Spanish): we set up SMTP sending and domain authentication, and check every month that order emails are still arriving.

Is this happening to you right now?

Leave us the URL and what you are seeing. A technician will look at it today and tell you what it is before touching anything.

We reply within 24 working hours.

Frequently asked questions

Why is PrestaShop not sending order emails?

Because the shop is not set up to send through a reliable server, because the mail server rejects them, or because they land in spam due to missing domain authentication. PrestaShop’s email log tells you whether the email actually went out.

Where can I see whether PrestaShop has sent an email?

In Advanced Parameters > E-mail, in the email log, as long as it is enabled. If the email appears there, PrestaShop tried to send it and the problem is in delivery; if it does not, the problem is earlier.

Is it better to send PrestaShop emails over SMTP?

Yes. Sending them over SMTP through a professional or transactional email service, instead of the server’s mail function, gets far more of them into the inbox and lets you see what happened to each one.

What are SPF, DKIM and DMARC?

They are domain records that let email providers check that a message really comes from your shop. If they are missing or wrong, order emails end up in spam or get rejected.