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 8d4022f commit c66c4afCopy full SHA for c66c4af
components/mailer.rst
@@ -30,9 +30,9 @@ Usage
30
The Mailer component has two main classes: a ``Transport`` and the ``Mailer`` itself::
31
32
use Symfony\Component\Mailer\Mailer;
33
- use Symfony\Component\Mailer\Transport\Smtp\SmtpTransport;
+ use Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport;
34
35
- $transport = new SmtpTransport('localhost');
+ $transport = new EsmtpTransport('localhost');
36
$mailer = new Mailer($transport);
37
$mailer->send($email);
38
0 commit comments