Claudia M Posted August 4, 2017 Posted August 4, 2017 Hi, I use to have coding that would send customer emails to me also. Now that we have the email log, the emails aren't sent to me. I would still like the order complete email sent to me as I use this to check for delivery. Saves time from having to log in to admin ..... I have the tracking link in the email. Can this still be done? Thanks in advance, Claudia Quote
Dirty Butter Posted August 4, 2017 Posted August 4, 2017 It an be done. I still have that code in mine. But I'm not in a position to be of much more help than that right now. Hopefully you can find the thread with Search. Quote
bsmither Posted August 4, 2017 Posted August 4, 2017 There is this: https://forums.cubecart.com/topic/52330-how-to-add-admin-as-bcc-of-all-customers-order-status-emails/ Quote
Claudia M Posted August 4, 2017 Author Posted August 4, 2017 (edited) So is this all I do? Reading the post I don't know if it ever worked correctly. In admin, Manage Hooks, Code Snippets tab, click Add Snippet. Nevermind! Adding the Code Snippets worked. Thank You!! Enabled: Checked Unique ID: classize_mailer@cubecart Execution Order: 99 Description: Class-izes the Mailer instantiation so that it can be seen outside the orderStatus() method. Trigger: class.order.order_status Version: 1.0 Author: https://forums.cubecart.com/topic/52330-how-to-add-admin-as-bcc-of-all-customers-order-status-emails/ PHP Code: <?php $this->_mailer =& $mailer; Save. Start another Code Snippet. Enabled: Checked Unique ID: bcc_admin@cubecart Execution Order: 99 Description: BCC's the admins on all customer emails. Trigger: class.order.assign_order_details Version: 1.0 Author: https://forums.cubecart.com/topic/52330-how-to-add-admin-as-bcc-of-all-customers-order-status-emails/ PHP Code: <?php //$this->_mailer->SMTPDebug = 2; //$this->_mailer->Debugoutput = 'error_log'; $addBCC_notify_admins = explode(',', $this->_notifyAdmins()); foreach ($addBCC_notify_admins as $admin) { $this->_mailer->addBCC($admin); } Save. Edited August 4, 2017 by Claudia M Code changed worked Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.