@@ -2906,21 +2906,27 @@ Name of the lock you want to create.
2906
2906
mailer
2907
2907
~~~~~~
2908
2908
2909
+ .. versionadded :: 4.3
2910
+
2911
+ The ``mailer `` settings were introduced in Symfony 4.3.
2912
+
2909
2913
.. _mailer-dsn :
2910
2914
2911
2915
dsn
2912
2916
...
2913
2917
2914
- **type **: ``string ``
2918
+ **type **: ``string `` ** default **: `` null ``
2915
2919
2916
- The DSN used by the mailer. When several DSN may be used, use `transports ` (see below) instead.
2920
+ The DSN used by the mailer. When several DSN may be used, use
2921
+ ``transports `` option (see below) instead.
2917
2922
2918
2923
transports
2919
2924
..........
2920
2925
2921
2926
**type **: ``array ``
2922
2927
2923
- A :ref: `list of DSN <multiple-email-transports >` that can be used by the mailer. A transport name is the key and the dsn is the value.
2928
+ A :ref: `list of DSN <multiple-email-transports >` that can be used by the
2929
+ mailer. A transport name is the key and the dsn is the value.
2924
2930
2925
2931
envelope
2926
2932
........
@@ -2930,14 +2936,16 @@ sender
2930
2936
2931
2937
**type **: ``string ``
2932
2938
2933
- Sender used by the ``Mailer ``. Keep in mind that this setting override a sender set in the code.
2939
+ Sender used by the ``Mailer ``. Keep in mind that this setting override a
2940
+ sender set in the code.
2934
2941
2935
2942
recipients
2936
2943
""""""""""
2937
2944
2938
2945
**type **: ``array ``
2939
2946
2940
- Recipients used by the ``Mailer ``. Keep in mind that this setting override recipients set in the code.
2947
+ Recipients used by the ``Mailer ``. Keep in mind that this setting override
2948
+ recipients set in the code.
2941
2949
2942
2950
.. configuration-block ::
2943
2951
@@ -2963,8 +2971,8 @@ Recipients used by the ``Mailer``. Keep in mind that this setting override recip
2963
2971
<framework : config >
2964
2972
<framework : mailer dsn =" smtp://localhost:25" >
2965
2973
<framework : envelope >
2966
- <framework : recipients >[email protected] </framework : recipients >
2967
- <framework : recipients >[email protected] </framework : recipients >
2974
+ <framework : recipient >[email protected] </framework : recipient >
2975
+ <framework : recipient >[email protected] </framework : recipient >
2968
2976
</framework : envelope >
2969
2977
</framework : mailer >
2970
2978
</framework : config >
0 commit comments