RomanSnow Posted April 20, 2019 Share Posted April 20, 2019 Hi, I'm looking for a way to disable some email notifications in PrestaShop. As I know there is no way to do this without customizations. And as I see it can be done by overriding MailCore class. Is it really bad idea? Can I disable an email notification in any other way? Thank you. Link to comment Share on other sites More sharing options...
tdsoft Posted April 22, 2019 Share Posted April 22, 2019 You can find Class PHP where execute Maill::Send and remove this function 1 Link to comment Share on other sites More sharing options...
Rolige Posted April 23, 2019 Share Posted April 23, 2019 Hello: You can disable order status change email notification modifiying Order States. Some other email notification are associated to modules, so you can disabled too. Which specific notification do you want to disable? Regards Link to comment Share on other sites More sharing options...
RomanSnow Posted April 23, 2019 Author Share Posted April 23, 2019 5 minutes ago, Rolige said: Hello: You can disable order status change email notification modifiying Order States. Some other email notification are associated to modules, so you can disabled too. Which specific notification do you want to disable? Regards Hi, For example: creating new customer account and converting guest account to registered customer. Link to comment Share on other sites More sharing options...
Rolige Posted April 24, 2019 Share Posted April 24, 2019 On 4/23/2019 at 9:33 AM, RomanSnow said: Hi, For example: creating new customer account and converting guest account to registered customer. These notifications are not controlled by modules or specific config. I asume that PS thinks that they are very important to skip them. Any in PS 1.7 the account creation notification email is send at \classes\form\CustomerPersister.php::sendConfirmationMail so you can just comment the Mail::send function inside and that should be all. Good luck 1 Link to comment Share on other sites More sharing options...
RomanSnow Posted April 24, 2019 Author Share Posted April 24, 2019 Thank you for your help! Link to comment Share on other sites More sharing options...
Tristan44690 Posted June 18, 2021 Share Posted June 18, 2021 Hello, I also need to disable email notification for credit slips can you help me please Link to comment Share on other sites More sharing options...
ManuelAva Posted February 2, 2022 Share Posted February 2, 2022 On 4/20/2019 at 2:22 PM, RomanSnow said: Hi, I'm looking for a way to disable some email notifications in PrestaShop. As I know there is no way to do this without customizations. And as I see it can be done by overriding MailCore class. Is it really bad idea? Can I disable an email notification in any other way? Thank you. Most of the email notifications can be disabled from Advanced Paramaters -> Orders Configuration -> Status (tab) Note that some particular modules send email notifications as well. Usually you can manage that from their configuration page. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now