8000 Use when@dev insteadof dev/mailer.yaml · symfony/symfony-docs@7a307dc · GitHub
[go: up one dir, main page]

Skip to content

Commit 7a307dc

Browse files
Use when@dev insteadof dev/mailer.yaml
1 parent d626823 commit 7a307dc

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

mailer.rst

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ and headers.
565565

566566
.. code-block:: yaml
567567
568-
# config/packages/dev/mailer.yaml
568+
# config/packages/mailer.yaml
569569
framework:
570570
mailer:
571571
envelope:
@@ -1442,10 +1442,11 @@ the mailer configuration file (e.g. in the ``dev`` or ``test`` environments):
14421442

14431443
.. code-block:: yaml
14441444
1445-
# config/packages/dev/mailer.yaml
1446-
framework:
1447-
mailer:
1448-
dsn: 'null://null'
1445+
# config/packages/mailer.yaml
1446+
when@dev:
1447+
framework:
1448+
mailer:
1449+
dsn: 'null://null'
14491450
14501451
.. code-block:: xml
14511452
@@ -1490,11 +1491,12 @@ a specific address, instead of the *real* address:
14901491

14911492
.. code-block:: yaml
14921493
1493-
# config/packages/dev/mailer.yaml
1494-
framework:
1495-
mailer:
1496-
envelope:
1497-
recipients: ['youremail@example.com']
1494+
# config/packages/mailer.yaml
1495+
when@dev:
1496+
framework:
1497+
mailer:
1498+
envelope:
1499+
recipients: ['youremail@example.com']
14981500
14991501
.. code-block:: xml
15001502

0 commit comments

Comments
 (0)
0