Skip to content

Commit 65dd03b

Browse files
committed
feature #5056 [Reference] Add missing option delivery_whitelist (TerjeBr)
This PR was merged into the 2.3 branch. Discussion ---------- [Reference] Add missing option delivery_whitelist Q | A ---|--- Doc fix? | yes New docs? | no Applies to | SwiftMailerBundle 2.1 Fixed tickets | #4925 Commits ------- 03279dc Added double backticks. And also a full stop. 2aab241 added link target/label in the cookbook ce8719d Changed link into ref 07855f6 Removed + from copied diff 0195619 [Reference] Add missing option delivery_whitelist
2 parents 2fe8f76 + 03279dc commit 65dd03b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

cookbook/email/dev_environment.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ the replaced address, so you can still see who it would have been sent to.
119119
These are ``X-Swift-Cc`` and ``X-Swift-Bcc`` for the ``CC`` and ``BCC``
120120
addresses respectively.
121121

122+
.. _sending-to-a-specified-address-but-with-exceptions:
123+
122124
Sending to a Specified Address but with Exceptions
123125
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124126

reference/configuration/swiftmailer.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Configuration
3232
* `threshold`_
3333
* `sleep`_
3434
* `delivery_address`_
35+
* `delivery_whitelist`_
3536
* `disable_delivery`_
3637
* `logging`_
3738

@@ -156,6 +157,15 @@ emails sent during development go to a single account.
156157
This uses ``Swift_Plugins_RedirectingPlugin``. Original recipients are available
157158
on the ``X-Swift-To``, ``X-Swift-Cc`` and ``X-Swift-Bcc`` headers.
158159

160+
delivery_whitelist
161+
~~~~~~~~~~~~~~~~~~
162+
163+
**type**: ``array``
164+
165+
Used in combination with ``delivery_address``. If set, emails matching any of these
166+
patterns will be delivered like normal, instead of being sent to ``delivery_address``.
167+
For details, see :ref:`the cookbook entry. <sending-to-a-specified-address-but-with-exceptions>`
168+
159169
disable_delivery
160170
~~~~~~~~~~~~~~~~
161171

0 commit comments

Comments
 (0)