Famigerado Posted May 3, 2016 Share Posted May 3, 2016 How can i make the admnistrator recieve an email with the purchase order? Link to comment Share on other sites More sharing options...
vekia Posted May 3, 2016 Share Posted May 3, 2016 you want to send exact copy of the email that customer receives? Link to comment Share on other sites More sharing options...
Famigerado Posted May 3, 2016 Author Share Posted May 3, 2016 Yes Vekia.... Link to comment Share on other sites More sharing options...
vekia Posted May 3, 2016 Share Posted May 3, 2016 please let me know the exact version of your shop (1.6.x.y) i will show you how to achieve this. 1 Link to comment Share on other sites More sharing options...
Famigerado Posted May 3, 2016 Author Share Posted May 3, 2016 It is: 1.6.1.5 Link to comment Share on other sites More sharing options...
Famigerado Posted May 3, 2016 Author Share Posted May 3, 2016 I try to found the code where email is sent, to put a hidden copy for admin email. But i didnt have sucess....Sorry my english. Link to comment Share on other sites More sharing options...
bellini13 Posted May 4, 2016 Share Posted May 4, 2016 You should be able to add a BCC to every email that leaves your store, by updating or overriding the Mail class Link to comment Share on other sites More sharing options...
Famigerado Posted May 4, 2016 Author Share Posted May 4, 2016 Yes Bellini13, i try... but no sucess Link to comment Share on other sites More sharing options...
bellini13 Posted May 5, 2016 Share Posted May 5, 2016 do i need to guess at what you tried? did you search the forums on how to properly do this... it has been covered already Link to comment Share on other sites More sharing options...
Famigerado Posted May 5, 2016 Author Share Posted May 5, 2016 I try this one: https://www.prestashop.com/forums/topic/149416-solved-bcc-copy-of-order-confirmation-mail/But in my Prestshop the files are diferente... i really try.I try this solution http://www.addons-modules.com/prestashop-tips/2010/04/prestashop-tips-how-to-bcc-blind-carbon-copy-all-emails-to-shop-owner-or-specific-email-address/ and nothing....I need a north!!Thanks. Link to comment Share on other sites More sharing options...
Famigerado Posted May 5, 2016 Author Share Posted May 5, 2016 I did it!I change Mail.phpThis: public static function Send($id_lang, $template, $subject, $template_vars, $to, $to_name = null, $from = null, $from_name = null, $file_attachment = null, $mode_smtp = null, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = null, $bcc = null, $reply_to = null) { To this: public static function Send($id_lang, $template, $subject, $template_vars, $to, $to_name = null, $from = null, $from_name = null, $file_attachment = null, $mode_smtp = null, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = null, $bcc = '[email protected]', $reply_to = null) { Just add a bcc e-mail. Unfortunately the admin now is receiving all e-mails, not only the purchase order email.... but it is something...Thanks for the helps mans!! 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