Showing results for 
Search instead for 
Did you mean: 

Change e-Mail receiver inside queueNewOrderEmail

Change e-Mail receiver inside queueNewOrderEmail

Hello, we've a Magento 1.9 shop where we've included e-Mail routing that has different e-Mail reicevers based on the country. For example ( main Shop)


So when client A buys at the france shop the an e-Mail will be dispatched to The problem is that is a BCC so there will be also sen an e-mail to


We've programmed that inside the queueNewOrderEmail function in Order.php and check zip of the client to determine where to send the e-Mail.

Do you know how to dynamically replace the e-Mail receiver?



Currently this is our routing snippets.


Thank for you help!