We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0241228 commit 887e8baCopy full SHA for 887e8ba
reference/configuration/swiftmailer.rst
@@ -303,3 +303,10 @@ Each mailer is registered as a service::
303
304
// returns the second mailer
305
$container->get('swiftmailer.mailer.second_mailer');
306
+
307
+.. caution::
308
309
+ When configuring multiple mailers, options must be placed under the appropriate
310
+ mailer key of the configuration. Options placed directly under the ``swiftmailer``
311
+ key will not be applied to all mailers, but will configure a mailer named
312
+ ``default`` instead.
0 commit comments