@@ -347,29 +347,29 @@ may be specified as SHA1 or MD5 hash::
347
347
348
348
$dsn = 'smtp://user:pass@smtp.example.com?peer_fingerprint=6A1CF3B08D175A284C30BC10DE19162307C7286E';
349
349
350
- Disabling automatic TLS
350
+ Disabling Automatic TLS
351
351
~~~~~~~~~~~~~~~~~~~~~~~
352
352
353
353
.. versionadded :: 7.1
354
354
355
- Disabling automatic TLS was introduced in Symfony 7.1.
355
+ The option to disable automatic TLS was introduced in Symfony 7.1.
356
356
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::
361
361
362
362
$dsn = 'smtp://user:pass@10.0.0.25?auto_tls=false';
363
363
364
364
.. caution ::
365
365
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.
369
369
370
370
.. note ::
371
371
372
- This setting works only when ``smtp:// `` protocol is used.
372
+ This setting only works when the ``smtp:// `` protocol is used.
373
373
374
374
Overriding default SMTP authenticators
375
375
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments