damsoi01 Posted May 5, 2016 Share Posted May 5, 2016 Hello, as the title says, I am looking for a solution for all the emails sent to the clients (including the customer service ones), without exception, to be sent with a [email protected] address. I have many clients that keep replying to the automatic emails and the customer service ones and it is just unbearable... I changed the Preferences -> Store Contact to a noreply address, but clients keep receiving the old one after cleaning prestashop + browser cache and everything else... I looked everywhere on the forum for a solution but I still don't find anything. Anyone with the answer? Thanks a lot! Link to comment Share on other sites More sharing options...
shokinro Posted May 6, 2016 Share Posted May 6, 2016 (edited) usually the from email address is from store configuration PS_SHOP_EMAIL data. and if you have changed the Store Contact, and then it should be fine. make sure the database record was updated correctly, it is not cached somewhere. Edited May 6, 2016 by shokinro (see edit history) Link to comment Share on other sites More sharing options...
damsoi01 Posted May 6, 2016 Author Share Posted May 6, 2016 Hello Shokinro, thanks for the reply! I have had this data in the PS_SHOP_EMAIL since I created the store, but I still get emails from the email I use as an admin. Maybe would it be necessary to change my admin email? Since my module email alerts has the right notification email configured, I guess it wouldn't be a problem, but how about the other users of the customer service service who reply to emails from backend? I don't see an easy way for the clients to only receive emails from [email protected].. Link to comment Share on other sites More sharing options...
shokinro Posted May 7, 2016 Share Posted May 7, 2016 there is other you may consider to use, in method Send() of Mail.php class, you can replace the parameter $from with [email protected]. only replace it when $from is your store admin contact email, see below. /classes/Mail.php or (recommended) /override/Mail.php From public static function Send($id_lang, $template, $subject, $templateVars, $to, $toName = NULL, $from = NULL, $fromName = NULL, ...............) { TO public static function Send($id_lang, $template, $subject, $templateVars, $to, $toName = NULL, $from = NULL, $fromName = NULL, ...............) { if($from == "xxxxxxxx")$from = "[email protected]"; 1 Link to comment Share on other sites More sharing options...
damsoi01 Posted June 9, 2016 Author Share Posted June 9, 2016 Hello shokinro, and sorry for the delay! I have been sick and as a result I was not working. Apparently the issue was coming from the fact that the cache had not been cleared everywhere, so after cleaning the browser, the admin, smarty etc.. The issue resolved itself and it now works like a charm! Thanks a lot for your help! Link to comment Share on other sites More sharing options...
shokinro Posted June 9, 2016 Share Posted June 9, 2016 @damsoi01 I am glad you are good now and also the issue is resolved. thanks for your feedback. 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