Closed
Description
http://symfony.com/doc/current/reference/configuration/swiftmailer.html#delivery-whitelist
"If set, emails matching any of these patterns will be delivered like normal, instead of being sent to delivery_address."
This is not true, the class Swift_Plugins_RedirectingPlugin sends it to both the white listed recipient address as well as the delivery_address.
You can see that behavior in the previous mentioned class, after it adds the white listed address as recipient, it also adds the default recipient (delivery_address)l.
foreach ((array) $this->_recipient as $recipient) {
if (!array_key_exists($recipient, $to)) {
$message->addTo($recipient);
}
}