Skip to content

Commit 375494f

Browse files
e-weimannE Weimann
authored and
E Weimann
committed
[Reference] Add missing option delivery_whitelist
1 parent 99e2996 commit 375494f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

reference/configuration/swiftmailer.rst

Lines changed: 9 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,13 @@ 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, send email as normal to addresses that match with the values in the list. All addresses not matching will be sent to ``delivery_address`` as is the normal behaviour when setting a ``delivery_address``.
166+
159167
disable_delivery
160168
~~~~~~~~~~~~~~~~
161169

@@ -195,6 +203,7 @@ Full default Configuration
195203
threshold: 99
196204
sleep: 0
197205
delivery_address: ~
206+
delivery_whitelist: ~
198207
disable_delivery: ~
199208
logging: "%kernel.debug%"
200209

0 commit comments

Comments
 (0)