File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,9 @@ via the ``delivery_addresses`` option:
78
78
xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
79
79
http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd" >
80
80
81
- <swiftmailer : config delivery-addresses =" dev@example.com" />
81
+ <swiftmailer : config >
82
+ <swiftmailer : delivery-address >dev@example.com</swiftmailer : delivery-address >
83
+ </swiftmailer : config >
82
84
</container >
83
85
84
86
.. code-block :: php
@@ -158,11 +160,12 @@ by adding the ``delivery_whitelist`` option:
158
160
xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
159
161
http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd" >
160
162
161
- <swiftmailer : config delivery-addresses = " dev@example.com " >
163
+ <swiftmailer : config >
162
164
<!-- all email addresses matching these regexes will be delivered
163
165
like normal, as well as being sent to dev@example.com -->
164
166
<swiftmailer : delivery-whitelist-pattern >/@specialdomain\.com$/</swiftmailer : delivery-whitelist-pattern >
165
167
<swiftmailer : delivery-whitelist-pattern >/^admin@mydomain\.com$/</swiftmailer : delivery-whitelist-pattern >
168
+ <swiftmailer : delivery-address >dev@example.com</swiftmailer : delivery-address >
166
169
</swiftmailer : config >
167
170
</container >
168
171
Original file line number Diff line number Diff line change @@ -211,7 +211,6 @@ Full Default Configuration
211
211
antiflood :
212
212
threshold : 99
213
213
sleep : 0
214
- delivery_address : ~
215
214
delivery_addresses : []
216
215
disable_delivery : ~
217
216
logging : ' %kernel.debug%'
@@ -234,8 +233,6 @@ Full Default Configuration
234
233
encryption =" "
235
234
auth_mode =" "
236
235
sender_address =" "
237
- delivery_address =" "
238
- delivery_addresses =" "
239
236
disable_delivery =" "
240
237
logging =" %kernel.debug%"
241
238
>
You can’t perform that action at this time.
0 commit comments