-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
actionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
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);
}
}
Metadata
Metadata
Assignees
Labels
actionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.