Skip to content

Commit 104780d

Browse files
committed
minor #12725 Update mailer.rst (atailouloute)
This PR was squashed before being merged into the 4.4 branch (closes #12725). Discussion ---------- Update mailer.rst Commits ------- 627ec43 Update mailer.rst
2 parents b61e9c1 + 627ec43 commit 104780d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/mailer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ it:
6464
6565
Then, use the SMTP Gmail transport::
6666

67-
use Symfony\Component\Mailer\Bridge\Google\Smtp\GmailTransport;
67+
use Symfony\Component\Mailer\Bridge\Google\Transport\GmailSmtpTransport;
6868
use Symfony\Component\Mailer\Mailer;
6969

70-
$transport = new GmailTransport('user', 'pass');
70+
$transport = new GmailSmtpTransport('user', 'pass');
7171
$mailer = new Mailer($transport);
7272
$mailer->send($email);
7373

0 commit comments

Comments
 (0)