diff --git a/components/mailer.rst b/components/mailer.rst index 57c9f3fc9ab..c4aa5efaa14 100644 --- a/components/mailer.rst +++ b/components/mailer.rst @@ -66,6 +66,7 @@ it: Then, use the SMTP Gmail transport:: use Symfony\Component\Mailer\Bridge\Google\Smtp\GmailTransport; + use Symfony\Component\Mailer\Mailer; $transport = new GmailTransport('user', 'pass'); $mailer = new Mailer($transport);