marissa_ep Posted February 27, 2015 Share Posted February 27, 2015 I would like to have my order confirmations go to one address and my password reset, emails from website, etc. go to another. I tried the fix below, but I am now getting all emails at both addresses. if ($recipients instanceof Swift_Address){$list = new Swift_RecipientList();$list->addTo($recipients);} /* my code */$list->addBcc('[email protected]');/* my code end */ Has anyone done this? Is this possible? Thanks in advance! Link to comment Share on other sites More sharing options...
bellini13 Posted February 27, 2015 Share Posted February 27, 2015 You did not add any conditional statements, so of course every email will include you on blind copy. you might be able to do something like this. if ($template == 'order_conf') $list->addBcc('[email protected]'); That should add you to blind copy when the email is the order confirmation. Link to comment Share on other sites More sharing options...
Recommended Posts