File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -423,21 +423,20 @@ setting the ``auto_tls`` option to ``false`` in the DSN::
423423Ensure TLS
424424~~~~~~~~~~
425425
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::
431430
432431 $dsn = 'smtp://user:pass@10.0.0.25?require_tls=true';
433432
434- When TLS is set as required, a :class: `Symfony\\ Component\\ Mailer\\ Exception\\ TransportException `
435- will be thrown if a TLS connection cannot be achieved during initial communications
433+ When TLS is required, a :class: `Symfony\\ Component\\ Mailer\\ Exception\\ TransportException `
434+ is thrown if a TLS connection cannot be established during the initial communication
436435with the SMTP server.
437436
438437.. note ::
439438
440- This setting only works when the ``smtp:// `` protocol is used .
439+ This setting only applies when using the ``smtp:// `` protocol.
441440
442441.. versionadded :: 7.3
443442
You can’t perform that action at this time.
0 commit comments