Skip to content

Commit 0943b8b

Browse files
committed
apply review requests
1 parent 282d662 commit 0943b8b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

components/mailer.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,13 @@ The mailer will start using the first transport and if it fails, it will retry
142142
the same delivery with the next transports until one of them succeeds (or until
143143
all of them fail).
144144

145-
Disable TLS peer verification
146-
-----------------------------
145+
TLS Peer Verification
146+
---------------------
147147

148-
Symfony's mailer supports TLS peer verification by default, but in some cases,
149-
this verification shouldn't be done, like if the SMTP server has a self signed
150-
certificate.
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.
151150

152-
In such case, a parameter can be used in the DSN::
151+
In such case, add the `verify_peer` parameter to the DSN::
153152

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

0 commit comments

Comments
 (0)