mkzhang Posted October 28, 2009 Posted October 28, 2009 Hi all, I was wondering how can I get a copy of all outgoing emails? Basically the order confirmation email (done via send extra emails to:) and the order status notification emails. The reason for this is that we want to be able to catalog all notification and emails for paper work purposes. I have looked around but can't seem to find any solutions. Any help will be appreciated :) Thanks
germ Posted October 29, 2009 Posted October 29, 2009 Hi all, I was wondering how can I get a copy of all outgoing emails? Basically the order confirmation email (done via send extra emails to:) and the order status notification emails. The reason for this is that we want to be able to catalog all notification and emails for paper work purposes. I have looked around but can't seem to find any solutions. Any help will be appreciated :) Thanks You could get a copy of the order status notification kind of like what was done here Except the code is in /admin/orders.php Replace this code: tep_mail($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); With: $headers = 'From: ' . STORE_OWNER_EMAIL_ADDRESS . "\r\n" . 'Bcc: ' . STORE_OWNER_EMAIL_ADDRESS . "\r\n"; mail($check_status['customers_email_address'] , EMAIL_TEXT_SUBJECT , $email , $headers, ''); BACKUP THE FILE FIRST! I haven't tried this code like I did in the other thread... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
mkzhang Posted October 30, 2009 Author Posted October 30, 2009 Thank you so much :) I went ahead and copied the if clause where "if send additional email is true etc" and added it to the admin/order.php file. It now retains the ability to be turned on and off with the send additional emails to function as well. Thanks for the tip!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.