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.
2 parents 711b4b0 + 3b1dd56 commit 2e5e2a6Copy full SHA for 2e5e2a6
mailer.rst
@@ -94,7 +94,7 @@ Creating & Sending Messages
94
---------------------------
95
96
To send an email, autowire the mailer using
97
-:class:`Symfony\\Component\\Mailer\\MailerInterface` (service id ``mailer``)
+:class:`Symfony\\Component\\Mailer\\MailerInterface` (service id ``mailer.mailer``)
98
and create an :class:`Symfony\\Component\\Mime\\Email` object::
99
100
// src/Controller/MailerController.php
0 commit comments