Skip to content

Commit b80961c

Browse files
Chnaged the disbale_delivery section to use the test environment as example.
1 parent 067da1e commit b80961c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

cookbook/email/dev_environment.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,22 @@ Disabling Sending
1313
-----------------
1414

1515
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:
1920

2021
.. configuration-block::
2122

2223
.. code-block:: yaml
2324
24-
# app/config/config_dev.yml
25+
# app/config/config_test.yml
2526
swiftmailer:
2627
disable_delivery: true
2728
2829
.. code-block:: xml
2930
30-
<!-- app/config/config_dev.xml -->
31+
<!-- app/config/config_test.xml -->
3132
3233
<!--
3334
xmlns:swiftmailer="http://symfony.com/schema/dic/swiftmailer"
@@ -39,7 +40,7 @@ sent in the ``prod`` environment:
3940
4041
.. code-block:: php
4142
42-
// app/config/config_dev.php
43+
// app/config/config_test.php
4344
$container->loadFromExtension('swiftmailer', array(
4445
'disable_delivery' => "true",
4546
));

0 commit comments

Comments
 (0)