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.
2 parents 5a3a845 + c66c4af commit 71ab78fCopy full SHA for 71ab78f
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