Skip to content

Commit c34a612

Browse files
committed
Minor tweak
1 parent de129ea commit c34a612

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

mailer.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -347,29 +347,29 @@ may be specified as SHA1 or MD5 hash::
347347

348348
$dsn = 'smtp://user:pass@smtp.example.com?peer_fingerprint=6A1CF3B08D175A284C30BC10DE19162307C7286E';
349349

350-
Disabling automatic TLS
350+
Disabling Automatic TLS
351351
~~~~~~~~~~~~~~~~~~~~~~~
352352

353353
.. versionadded:: 7.1
354354

355-
Disabling automatic TLS was introduced in Symfony 7.1.
355+
The option to disable automatic TLS was introduced in Symfony 7.1.
356356

357-
By default, mailer will check if OpenSSL extension is enabled and if SMTP server
358-
is capable of STARTTLS, it will issue this command to enable encryption on stream.
359-
This behavior can be turned off by calling ``setAutoTls(false)`` on ``EsmtpTransport``
360-
instance, or by setting ``auto_tls`` option in DSN::
357+
By default, the Mailer component will use encryption when the OpenSSL extension
358+
is enabled and the SMTP server supports ``STARTTLS``. This behavior can be turned
359+
off by calling ``setAutoTls(false)`` on the ``EsmtpTransport`` instance, or by
360+
setting the ``auto_tls`` option to ``false`` in the DSN::
361361

362362
$dsn = 'smtp://user:pass@10.0.0.25?auto_tls=false';
363363

364364
.. caution::
365365

366-
It's not recommended to disable TLS while connecting to SMTP server over
367-
internet, but it can be useful when both application and SMTP server are in
368-
secured network, where there is no need for additional encryption.
366+
It's not recommended to disable TLS while connecting to an SMTP server over
367+
the Internet, but it can be useful when both the application and the SMTP
368+
server are in a secured network, where there is no need for additional encryption.
369369

370370
.. note::
371371

372-
This setting works only when ``smtp://`` protocol is used.
372+
This setting only works when the ``smtp://`` protocol is used.
373373

374374
Overriding default SMTP authenticators
375375
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)