banan_44 Posted July 20, 2020 Share Posted July 20, 2020 Hello, I want to receive an exact copy of order_conf emails that are sent to the customers after purchase. Is it possible to do that? I am changing the template and the translation of the order confirmation emails and I want to verify if something is wrong with the email template. Creating a new order every time I make a small fix is annoying. Link to comment Share on other sites More sharing options...
Edward1s Posted July 21, 2020 Share Posted July 21, 2020 I was also looking for a solution regarding the same. Any help will be appreciated. Link to comment Share on other sites More sharing options...
Guest Posted July 22, 2020 Share Posted July 22, 2020 There are really a lot of answers on the forum, it just wants to look for the right terms. Just edit the function in ./classes/Mail.php The parameters are in the Send function. public static function send( $idLang, $template, $subject, $templateVars, $to, $toName = null, $from = null, $fromName = null, $fileAttachment = null, $mode_smtp = null, $templatePath = _PS_MAIL_DIR_, $die = false, $idShop = null, $bcc = null, $replyTo = null, $replyToName = null ) Just change the default value $bcc = null, to $bcc = Configuration::get('PS_SHOP_EMAIL'), or $bcc = '[email protected]', or $bcc = '[email protected], [email protected]', or $bcc = Configuration::get('PS_SHOP_EMAIL').', [email protected], [email protected]', etc....... 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