Skip to content

Commit c7070c5

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Update mailer.rst
2 parents e21929f + dc961a6 commit c7070c5

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
@@ -1001,9 +1001,10 @@ Development & Debugging
10011001
Disabling Delivery
10021002
~~~~~~~~~~~~~~~~~~
10031003

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

10081009
.. configuration-block::
10091010

0 commit comments

Comments
 (0)