File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -145,13 +145,17 @@ all of them fail).
145
145
TLS Peer Verification
146
146
---------------------
147
147
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 ::
152
152
153
153
$dsn = 'smtp://user:pass@smtp.example.com?verify_peer=false'
154
154
155
+ .. versionadded :: 5.1
156
+
157
+ The ``verify_peer `` option was introduced in Symfony 5.1.
158
+
155
159
Sending emails asynchronously
156
160
-----------------------------
157
161
You can’t perform that action at this time.
0 commit comments