8000 Merge branch '5.1' · symfony/symfony-docs@6745a49 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6745a49

Browse files
committed
Merge branch '5.1'
* 5.1: Update mailer.rst
2 parents 6e85c11 + c7070c5 commit 6745a49

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

mailer.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,9 +1060,10 @@ Development & Debugging
10601060
Disabling Delivery
10611061
~~~~~~~~~~~~~~~~~~
10621062

1063-
While developing (or testing), you may want to disable delivery of messages entirely.
1064-
You can do this by forcing Mailer to use the ``NullTransport`` in only the ``dev``
1065-
environment:
1063+
While developing (or testing), you may want to disable delivery of messages
1064+
entirely. You can do this by using ``null://null`` as the mailer DSN, either in
1065+
your :ref:`.env configuration files <configuration-multiple-env-files>` or in
1066+
the mailer configuration file (e.g. in the ``dev`` or ``test`` environments):
10661067

10671068
.. configuration-block::
10681069

0 commit comments

Comments
 (0)
0