Mikepo Posted January 14, 2016 Posted January 14, 2016 HI everyone. I have been having trouble with emails being sent from oscommerce, using 2.3.4BS, and now have reverted to smtp, and order confirmations are sent to the customer and copied to me. However, I have no confirmation of emails sent via the admin> tools > send email or the confirmation what is sent to the customer when I confirm an order is sent/processed. Is there anyway of receiving a copy of the email? similar to a sent folder in an email client? I have the 'Send Extra Order Emails To' set to any store email address in the format specified Name 1 <email@address1>, Name 2<email@address2> is there something I've missed, or do I need an addon? Mike osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!)
Jack_mcs Posted January 15, 2016 Posted January 15, 2016 No, there isn't any code to backup emails. But there are two addons, at least, that will do that. One is named Email Queue but I can't recall the other at all. Maybe someone else will. But I suppose the simple way would be to add a command to send a copy of the email, like send extra order emails does. You just have to track down the sections where you want to make that change. Or, just edit the tep_mail function to send the email twice, one to the location of your choice. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Mikepo Posted January 19, 2016 Author Posted January 19, 2016 This is my solution 1 - modiify admin/mail.php, so when sending email from your shop a copy is also sent to you Add $mimemessage->send('YourStoreName', 'YourStoreEmmailAddress', '', $from, $subject); 2 - modify admin/orders.php, so when a change in customer order status is made a copy is also sent to you. Add tep_mail('YourStoreName', 'YourStoreEmmailAddress', EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); seems to work for me. Mike osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.