Cc Specific Email Address When Order Status Is Changed

Hi CS Cart.



I’m interested in tweaking my CS Cart installation to cc a specific email address, when the status of an order is changed to “Finished”.

Right now the shop sends an email to my order-department, with their email address as receiver, but it have to be the customers email address in the e-mail header.



Any help would be appreciated :)



Jesper.

Use the 'send_mail_pre' hook in the function fn_send_mail() and add a BCC field for whatever address you want to use.