Skip to content

Commit 56783da

Browse files
committed
Reword
1 parent 04a80e1 commit 56783da

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

components/mailer.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,17 @@ all of them fail).
145145
TLS Peer Verification
146146
---------------------
147147

148-
SMTP tranports supports TLS peer verification by default, but in some cases, you
149-
may want to turn this off. For example, in a development environment.
150-
151-
In such case, add the `verify_peer` parameter to the DSN::
148+
By default, SMTP transports perform TLS peer verification. This behavior is
149+
configurable with the ``verify_peer`` option. Although it's not recommended to
150+
disable this verification for security reasons, it can be useful while developing
151+
the application or when using a self-signed certificate::
152152

153153
$dsn = 'smtp://user:pass@smtp.example.com?verify_peer=false'
154154

155+
.. versionadded:: 5.1
156+
157+
The ``verify_peer`` option was introduced in Symfony 5.1.
158+
155159
Sending emails asynchronously
156160
-----------------------------
157161

0 commit comments

Comments
 (0)