@@ -423,21 +423,20 @@ setting the ``auto_tls`` option to ``false`` in the DSN::
423
423
Ensure TLS
424
424
~~~~~~~~~~
425
425
426
- You may want to ensure TLS is used, either directly or via ``STARTTLS ``,
427
- for sending mail over SMTP regardless of other options set or SMTP server
428
- support. You can set TLS as required by calling ``setRequireTls(true) ``
429
- on the ``EsmtpTransport `` instance, or by setting the ``require_tls `` option
430
- to ``true `` in the DSN::
426
+ You may want to ensure that TLS is used (either directly or via ``STARTTLS ``)
427
+ when sending mail over SMTP, regardless of other options or SMTP server support.
428
+ To require TLS, call ``setRequireTls(true) `` on the ``EsmtpTransport `` instance,
429
+ or set the ``require_tls `` option to ``true `` in the DSN::
431
430
432
431
$dsn = 'smtp://user:pass@10.0.0.25?require_tls=true';
433
432
434
- When TLS isset as required, a:class: `Symfony\\ Component\\ Mailer\\ Exception\\ TransportException `
435
- will be thrown if a TLS connection cannot beachieved during initialcommunications
433
+ When TLS is required, a:class: `Symfony\\ Component\\ Mailer\\ Exception\\ TransportException `
434
+ is thrown if a TLS connection cannot beestablished duringthe initialcommunication
436
435
with the SMTP server.
437
436
438
437
..note ::
439
438
440
- This setting onlyworks when the ``smtp:// `` protocol is used .
439
+ This setting onlyapplies whenusing the ``smtp:// `` protocol.
441
440
442
441
..versionadded ::7.3
443
442