Skip to content

Commit

Permalink
[Reference] Add missing option delivery_whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
e-weimann authored and E Weimann committed Feb 3, 2015
1 parent 99e2996 commit 75fa7cb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions reference/configuration/swiftmailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Configuration
* `threshold`_
* `sleep`_
* `delivery_address`_
* `delivery_whitelist`_
* `disable_delivery`_
* `logging`_

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

delivery_whitelist
~~~~~~~~~~~~~~~~~~

**type**: ``array``

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``.

disable_delivery
~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -195,6 +206,7 @@ Full default Configuration
threshold: 99
sleep: 0
delivery_address: ~
delivery_whitelist: ~
disable_delivery: ~
logging: "%kernel.debug%"
Expand Down

0 comments on commit 75fa7cb

Please sign in to comment.