Skip to content

Commit 0195619

Browse files
committed
[Reference] Add missing option delivery_whitelist
Q | A -------- Doc fix? | yes New docs? | no Applies to | SwiftMailerBundle 2.1 Fixed tickets | no
1 parent 6b66f03 commit 0195619

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

reference/configuration/swiftmailer.rst

Lines changed: 12 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,17 @@ 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 `the Cookbook entry.`_
168+
169+
.. _`the Cookbook entry.`: http://symfony.com/doc/current/cookbook/email/dev_environment.html#sending-to-a-specified-address-but-with-exceptions
170+
159171
disable_delivery
160172
~~~~~~~~~~~~~~~~
161173

0 commit comments

Comments
 (0)