Skip to content

Commit 3b1dd56

Browse files
committed
minor #12879 Update service id of the MailerInterface (rosier)
This PR was merged into the 4.3 branch. Discussion ---------- Update service id of the MailerInterface The service id of the MailerInterface was changed in symfony/symfony#31854 to avoid an conflict with SwiftMailer Commits ------- 93668de Update service id of the MailerInterface
2 parents be03e31 + 93668de commit 3b1dd56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mailer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Creating & Sending Messages
9393
---------------------------
9494

9595
To send an email, autowire the mailer using
96-
:class:`Symfony\\Component\\Mailer\\MailerInterface` (service id ``mailer``)
96+
:class:`Symfony\\Component\\Mailer\\MailerInterface` (service id ``mailer.mailer``)
9797
and create an :class:`Symfony\\Component\\Mime\\Email` object::
9898

9999
// src/Controller/MailerController.php

0 commit comments

Comments
 (0)
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