@@ -28,7 +28,7 @@ will not be sent when you run tests, but will continue to be sent in the
2828
2929 # app/config/config_test.yml
3030 swiftmailer :
31- disable_delivery : true
31+ disable_delivery : true
3232
3333 .. code-block :: xml
3434
@@ -48,7 +48,7 @@ will not be sent when you run tests, but will continue to be sent in the
4848
4949 // app/config/config_test.php
5050 $container->loadFromExtension('swiftmailer', array(
51- 'disable_delivery' => "true",
51+ 'disable_delivery' => "true",
5252 ));
5353
5454 If you'd also like to disable deliver in the ``dev `` environment, simply
@@ -80,7 +80,8 @@ via the ``delivery_addresses`` option:
8080 xmlns : swiftmailer =" http://symfony.com/schema/dic/swiftmailer"
8181 xsi : schemaLocation =" http://symfony.com/schema/dic/services
8282 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" >
8485
8586 <swiftmailer : config >
8687 <swiftmailer : delivery-address >dev@example.com</swiftmailer : delivery-address >
@@ -155,15 +156,14 @@ by adding the ``delivery_whitelist`` option:
155156 .. code-block :: xml
156157
157158 <!-- app/config/config_dev.xml -->
158-
159- <?xml version =" 1.0" charset =" UTF-8" ?>
160159 <?xml version =" 1.0" encoding =" UTF-8" ?>
161160 <container xmlns =" http://symfony.com/schema/dic/services"
162161 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
163162 xmlns : swiftmailer =" http://symfony.com/schema/dic/swiftmailer"
164163 xsi : schemaLocation =" http://symfony.com/schema/dic/services
165164 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" >
167167
168168 <swiftmailer : config >
169169 <!-- all email addresses matching these regexes will be delivered
@@ -178,7 +178,7 @@ by adding the ``delivery_whitelist`` option:
178178
179179 // app/config/config_dev.php
180180 $container->loadFromExtension('swiftmailer', array(
181- 'delivery_addresses' => array("dev@example.com"),
181+ 'delivery_addresses' => array("dev@example.com"),
182182 'delivery_whitelist' => array(
183183 // all email addresses matching these regexes will be delivered
184184 // like normal, as well as being sent to dev@example.com
0 commit comments