On further tinkering, I've discovered the code in func.php which sends a notification to the customer when an order is completed, in the func_complete_order function:
Code:
func_send_mail($userinfo["email"], "mail/order_cust_complete_subj.tpl", "mail/order_customer_complete.tpl", $config["Company"]["orders_department"], false);
It seems to me that I could create a new pair of .tpl files in the email directory called notification_shippinghouse.tpl and notification_shippinghouse_subj.tpl and add the following line just after the one above.
Code:
func_send_mail(shippinghouse\@miracleblanket.com, "mail/notification_shippinghouse_subj.tpl", "mail/notification_shippinghouse.tpl", $config["Company"]["orders_department"], false);
So, the question (other than "Would that work?") then becomes: Would a change to the func.php file be likely to survive a software upgrade? Would it void my customer support with X-Cart?
Are there any other gotchyas I should be aware of?
Most importantly, is there a better way to do this?
Thanks,
M