From a2ea8a73491baba81db081c902e0c189a9966656 Mon Sep 17 00:00:00 2001 From: Bagus Erlang Date: Wed, 27 Nov 2019 13:17:23 +0800 Subject: [PATCH] add use statement --- components/mailer.rst | 1 + 1 file changed, 1 insertion(+) 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);