@@ -28,7 +28,7 @@ will not be sent when you run tests, but will continue to be sent in the
28
28
29
29
# app/config/config_test.yml
30
30
swiftmailer :
31
- disable_delivery : true
31
+ disable_delivery : true
32
32
33
33
.. code-block :: xml
34
34
@@ -48,7 +48,7 @@ will not be sent when you run tests, but will continue to be sent in the
48
48
49
49
// app/config/config_test.php
50
50
$container->loadFromExtension('swiftmailer', array(
51
- 'disable_delivery' => "true",
51
+ 'disable_delivery' => "true",
52
52
));
53
53
54
54
If you'd also like to disable deliver in the ``dev `` environment, simply
@@ -80,7 +80,8 @@ via the ``delivery_addresses`` option:
80
80
xmlns : swiftmailer =" http://symfony.com/schema/dic/swiftmailer"
81
81
xsi : schemaLocation =" http://symfony.com/schema/dic/services
82
82
http://symfony.com/schema/dic/services/services-1.0.xsd
83
- http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd" >
83
+ http://symfony.com/schema/dic/swiftmailer
84
+ http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd" >
84
85
85
86
<swiftmailer : config >
86
87
<swiftmailer : delivery-address >dev@example.com</swiftmailer : delivery-address >
@@ -155,15 +156,14 @@ by adding the ``delivery_whitelist`` option:
155
156
.. code-block :: xml
156
157
157
158
<!-- app/config/config_dev.xml -->
158
-
159
- <?xml version =" 1.0" charset =" UTF-8" ?>
160
159
<?xml version =" 1.0" encoding =" UTF-8" ?>
161
160
<container xmlns =" http://symfony.com/schema/dic/services"
162
161
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
163
162
xmlns : swiftmailer =" http://symfony.com/schema/dic/swiftmailer"
164
163
xsi : schemaLocation =" http://symfony.com/schema/dic/services
165
164
http://symfony.com/schema/dic/services/services-1.0.xsd
166
- http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd" >
165
+ http://symfony.com/schema/dic/swiftmailer
166
+ http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd" >
167
167
168
168
<swiftmailer : config >
169
169
<!-- all email addresses matching these regexes will be delivered
@@ -178,7 +178,7 @@ by adding the ``delivery_whitelist`` option:
178
178
179
179
// app/config/config_dev.php
180
180
$container->loadFromExtension('swiftmailer', array(
181
- 'delivery_addresses' => array("dev@example.com"),
181
+ 'delivery_addresses' => array("dev@example.com"),
182
182
'delivery_whitelist' => array(
183
183
// all email addresses matching these regexes will be delivered
184
184
// like normal, as well as being sent to dev@example.com
0 commit comments