Hello @waheed and others...
I'll bring my own...
I have a similar problem after updating the shop to version 1.7.6.5 (source of 1.7.2.5) Apparently everything went well except the mailings to customers and, in my case, the order confirmations either.
- I think that using the php or smtp function is not relevant, because in my case I had the smtp well configured.
- I couldn't trust the test email either, since I received it without problems while the others didn't work.
- I also have only one language, so I ruled out problems with translations...
Finally, the emails to the customers work well, having reconfigured the smtp with the option SSL and IMAP options (validate-cert) to achieve that the emails do not end up in the SPAM folder. My provider talked about rejecting mailings without SSL, (Provider? ummmm, unreliable factor, don't consider this 😄).
Urging in the files of the new installation, I could see that prestashop has changed the system of sending, using twig templates to be able to personalize the mails from the administration panel. And that's what throws me an error with one mail: new_order (Attachment capture). I think there is some bug with the emailalerts module or prestashop 1.7.6.5...
I hope to find the solution to my case (working on it now) and that it can help you or future users to find the solution.
Working on local, php7.2.3, no caché...
Greetings!
Translated with www.DeepL.com/Translator (a little help 🙂)