# Order confirmation emails not received on PrestaShop

> An order is properly recorded in PrestaShop, but no confirmation email ever reaches the customer: the cause almost always sits in the delivery chain that follows the order, rarely in PrestaShop itself.

- Source canonique : [https://allaux.fr/en/prestashop/problemes/emails-confirmation-commande-non-recus](https://allaux.fr/en/prestashop/problemes/emails-confirmation-commande-non-recus)
- Langue : EN
- Dernière mise à jour : 2026-09-30

## Direct answer

> In Advanced Parameters > Email, switch from the PHP mail() function to an authenticated SMTP server, then use the test field at the bottom of the screen: if it goes through while orders sent nothing, the host was blocking mail(). If the test fails too, read var/logs/ and check any edited template in mails/en/order_conf.html.

## The email never leaves

By default, PrestaShop sends its transactional emails through the PHP mail() function, without going through a properly authenticated SMTP server. Many shared hosts throttle or block this function without any visible error in the back office: the order is validated, PrestaShop believes the email was sent, but the host silently rejected it.

The native fix is configuring an external SMTP server under Advanced Parameters > Email, with its authentication credentials. That’s the first thing I check, and in most cases it’s enough to restore delivery.

Another possible cause: the ps_emailalerts module disabled by mistake, or a custom email template in the mails/ folder with a Smarty syntax error after an edit, which blocks the message from being generated at all.

## The email leaves, but never arrives

A trickier case: sending succeeds on PrestaShop’s side, but the message lands in spam or never reaches the customer’s provider at all. This is usually a sender domain authentication issue: without properly configured SPF and DKIM records, major mail providers flag the email as suspicious, especially if it’s sent from an address that doesn’t genuinely belong to the site’s domain.

This is set at the domain’s DNS level, not inside PrestaShop: I check first whether SPF and DKIM exist, then fix or set them up as needed.

## Configuration or development?

> An SMTP or SPF/DKIM issue is a configuration fix, no code involved. Changing what’s in an email — adding a field, changing the layout — touches the template in mails/ and becomes custom development once it goes beyond plain text.

## Related pages

- **Contact form broken or flooded with spam** — The same email delivery mechanism is at fault: a separate diagnosis for a silent or spam-flooded form. ([/prestashop/problemes/formulaire-contact-ne-fonctionne-pas](/prestashop/problemes/formulaire-contact-ne-fonctionne-pas))
- **Order statuses and automatic emails** — Every status change can trigger its own email, with its own template and its own failure points. ([/prestashop/problemes/statuts-commande-personnalises](/prestashop/problemes/statuts-commande-personnalises))
- **Custom module development** — Adding a field or logic to a transactional email means touching both the template and the controller. ([/prestashop/module-sur-mesure](/prestashop/module-sur-mesure))

## FAQ

### How can I check whether the email actually leaves PrestaShop?

Advanced Parameters > Email offers a direct test send, independent of the order process. If that fails too, the problem is server configuration, not the order flow.

### Do I need a paid SMTP service?

No, a standard mailbox at the host is often enough, as long as its exact credentials are entered into PrestaShop. A dedicated SMTP service becomes useful once sending volume grows.

### Do customer sign-up emails have the same issue as order emails?

Yes, they use the same sending mechanism. If order confirmations aren’t arriving, account creation and password reset emails are usually affected too.

### Can a customer’s phone number be added to the confirmation email?

Yes, but that means editing the Smarty template in the mails/ folder for the relevant language, plus the controller that prepares the variables passed to it. That’s targeted development, not a back-office setting.

### Who sets up SPF and DKIM?

These are DNS records, managed at the domain registrar or mail host. I can check whether they exist and specify exactly what to add, even without access to the hosting account.
