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.
1 parent 45d54a0 commit 627ec43Copy full SHA for 627ec43
components/mailer.rst
@@ -64,10 +64,10 @@ it:
64
65
Then, use the SMTP Gmail transport::
66
67
- use Symfony\Component\Mailer\Bridge\Google\Smtp\GmailTransport;
+ use Symfony\Component\Mailer\Bridge\Google\Transport\GmailSmtpTransport;
68
use Symfony\Component\Mailer\Mailer;
69
70
- $transport = new GmailTransport('user', 'pass');
+ $transport = new GmailSmtpTransport('user', 'pass');
71
$mailer = new Mailer($transport);
72
$mailer->send($email);
73
0 commit comments