File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,22 @@ Disabling Sending
13
13
-----------------
14
14
15
15
You can disable sending emails by setting the ``disable_delivery `` option
16
- to ``true ``. If you do this in the ``dev `` specific config then emails will
17
- not be sent when you are in the ``dev `` environment and will continue to be
18
- sent in the ``prod `` environment:
16
+ to ``true ``. This is the default in the ``test `` environment in the Standard
17
+ distribution. If you do this in the ``test `` specific config then emails
18
+ will not be sent when you run tets and will continue to be sent in the
19
+ ``prod `` and ``dev `` environments:
19
20
20
21
.. configuration-block ::
21
22
22
23
.. code-block :: yaml
23
24
24
- # app/config/config_dev .yml
25
+ # app/config/config_test .yml
25
26
swiftmailer :
26
27
disable_delivery : true
27
28
28
29
.. code-block :: xml
29
30
30
- <!-- app/config/config_dev .xml -->
31
+ <!-- app/config/config_test .xml -->
31
32
32
33
<!--
33
34
xmlns:swiftmailer="http://symfony.com/schema/dic/swiftmailer"
@@ -39,7 +40,7 @@ sent in the ``prod`` environment:
39
40
40
41
.. code-block :: php
41
42
42
- // app/config/config_dev .php
43
+ // app/config/config_test .php
43
44
$container->loadFromExtension('swiftmailer', array(
44
45
'disable_delivery' => "true",
45
46
));
You can’t perform that action at this time.
0 commit comments