Quote:
Originally Posted by DavyMac
Can anyone tell me how to add an additional email address recipient to the customer's order complete email.
|
With this you mean the mail that is sent when the status of the order has been set to finished?
I am having a simular issue with a service like Trustpilot but the mail needs to be sent when the order status has been set to finished.
EDIT: overlooked the post before my post, which describes what I asked about.

Hopefully this works, anybody tried this?
ANOTHER EDIT: I got it working with 4.2.x

But then you need to change:
Code:
$myBcc = ( strpos($mail_message, '<!-- ORDER COMPLETE -->')===false ) ? '' : "Bcc: YOUR_ID@trustpilotservice.com".$lend;
$headers = "From: ".$company_mail_from.$lend.$myBcc."X-Mailer: X-Cart".$lend."MIME-Version: 1.0".$lend.$message_header;
To:
Code:
$myBcc = ( strpos($mail_message, '<!-- ORDER COMPLETE -->')===false ) ? '' : "Bcc: YOUR_ID@trustpilotservice.com".$lend;
$headers = "From: ".$mail_from.$lend.$myBcc."X-Mailer: X-Cart".$lend."MIME-Version: 1.0".$lend.$message_header;
(Note the change of
.$company_mail_from. to
.$mail_from.)