Our sales team didn't receive the order confirmation email for 5 different orders. The cause of this problem is still unknown but they are asking if we can send the order confirmation emails to them again, without sending it to the client.
The "Send email" button on the order detail page is correctly sending the mail but there is no way to prevent the client to receive it.
Is there some way we could send this email to the sales team only, whether it's via the back office or, if not possible, programmatically ?
Thank you for you answers
We finally decided to make a script to send the emails programatically. The script has been created in the following location:
You will only need to change the top-part parameters. The emails will be sent to this address instead of the customer's one. The Sales team will receive the copy has usual.
The code itself is mostly a copy of the function
Mage_Sales_Model_Order::sendNewOrderEmail()
with a few modificationsTo execute the scrippt you need to access the page: http://YOUR-SITE-URL.com/shell/resendEmails.php
(or whatever your script name is).