From 93668de2f447bdad9cfa961ca5cb0469954160e6 Mon Sep 17 00:00:00 2001 From: rosier Date: Thu, 2 Jan 2020 16:15:34 +0100 Subject: [PATCH] Update service id of the MailerInterface The service id of the MailerInterface was changed in https://github.com/symfony/symfony/pull/31854 to avoid an conflict with SwiftMailer --- mailer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailer.rst b/mailer.rst index 6dd02d58c35..5516f4564ea 100644 --- a/mailer.rst +++ b/mailer.rst @@ -93,7 +93,7 @@ Creating & Sending Messages --------------------------- To send an email, autowire the mailer using -:class:`Symfony\\Component\\Mailer\\MailerInterface` (service id ``mailer``) +:class:`Symfony\\Component\\Mailer\\MailerInterface` (service id ``mailer.mailer``) and create an :class:`Symfony\\Component\\Mime\\Email` object:: // src/Controller/MailerController.php pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy