Skip to content

Commit 627ec43

Browse files
atailoulouteOskarStark
authored andcommitted
Update mailer.rst
1 parent 45d54a0 commit 627ec43

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)