File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ and headers.
565
565
566
566
.. code-block :: yaml
567
567
568
- # config/packages/dev/ mailer.yaml
568
+ # config/packages/mailer.yaml
569
569
framework :
570
570
mailer :
571
571
envelope :
@@ -1442,10 +1442,11 @@ the mailer configuration file (e.g. in the ``dev`` or ``test`` environments):
1442
1442
1443
1443
.. code-block :: yaml
1444
1444
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'
1449
1450
1450
1451
.. code-block :: xml
1451
1452
@@ -1490,11 +1491,12 @@ a specific address, instead of the *real* address:
1490
1491
1491
1492
.. code-block :: yaml
1492
1493
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']
1498
1500
1499
1501
.. code-block :: xml
1500
1502
You can’t perform that action at this time.
0 commit comments