@@ -2906,21 +2906,27 @@ Name of the lock you want to create.
29062906 mailer
29072907~~~~~~
29082908
2909+ .. versionadded :: 4.3
2910+
2911+ The ``mailer `` settings were introduced in Symfony 4.3.
2912+
29092913.. _mailer-dsn :
29102914
29112915dsn
29122916...
29132917
2914- **type **: ``string ``
2918+ **type **: ``string `` ** default **: `` null ``
29152919
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.
29172922
29182923transports
29192924..........
29202925
29212926**type **: ``array ``
29222927
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.
29242930
29252931envelope
29262932........
@@ -2930,14 +2936,16 @@ sender
29302936
29312937**type **: ``string ``
29322938
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.
29342941
29352942recipients
29362943""""""""""
29372944
29382945**type **: ``array ``
29392946
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.
29412949
29422950.. configuration-block ::
29432951
@@ -2963,8 +2971,8 @@ Recipients used by the ``Mailer``. Keep in mind that this setting override recip
29632971 <framework : config >
29642972 <framework : mailer dsn =" smtp://localhost:25" >
29652973 <framework : envelope >
2966- <framework : recipients >admin@symfony.com</framework : recipients >
2967- <framework : recipients >lead@symfony.com</framework : recipients >
2974+ <framework : recipient >admin@symfony.com</framework : recipient >
2975+ <framework : recipient >lead@symfony.com</framework : recipient >
29682976 </framework : envelope >
29692977 </framework : mailer >
29702978 </framework : config >
0 commit comments