Skip to content

Commit daaa24a

Browse files
javiereguiluzxabbuh
authored andcommitted
Removed the description of the deprecated delivery_address option
1 parent 55c38a6 commit daaa24a

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

reference/configuration/swiftmailer.rst

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -145,26 +145,23 @@ sleep
145145
Used with ``Swift_Plugins_AntiFloodPlugin``. This is the number of seconds
146146
to sleep for during a transport restart.
147147

148-
delivery_address
149-
~~~~~~~~~~~~~~~~
148+
delivery_addresses
149+
~~~~~~~~~~~~~~~~~~
150150

151-
**type**: ``string``
151+
**type**: ``array``
152+
153+
.. note::
154+
155+
In previous versions, this option was called ``delivery_address``
152156

153-
If set, all email messages will be sent to this address instead of being
157+
If set, all email messages will be sent to these addresses instead of being
154158
sent to their actual recipients. This is often useful when developing. For
155159
example, by setting this in the ``config_dev.yml`` file, you can guarantee
156-
that all emails sent during development go to a single account.
160+
that all emails sent during development go to one or more some specific accounts.
157161

158162
This uses ``Swift_Plugins_RedirectingPlugin``. Original recipients are available
159163
on the ``X-Swift-To``, ``X-Swift-Cc`` and ``X-Swift-Bcc`` headers.
160164

161-
delivery_addresses
162-
~~~~~~~~~~~~~~~~~~
163-
164-
**type**: ``array``
165-
166-
If set, all email messages will be sent to this list of addresses, using the same logic as ``delivery_address``.
167-
168165
delivery_whitelist
169166
~~~~~~~~~~~~~~~~~~
170167

0 commit comments

Comments
 (0)