From 28a391a10154518f8de3068d5d64dc61fe39cb1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Fontaine?= Date: Tue, 28 Jan 2020 09:53:48 +0100 Subject: [PATCH] [Mailer] add ability to disable the TLS peer verification via DSN --- components/mailer.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/components/mailer.rst b/components/mailer.rst index 97f258167dc..60f65201785 100644 --- a/components/mailer.rst +++ b/components/mailer.rst @@ -142,6 +142,16 @@ The mailer will start using the first transport and if it fails, it will retry the same delivery with the next transports until one of them succeeds (or until all of them fail). +TLS Peer Verification +--------------------- + +SMTP tranports supports TLS peer verification by default, but in some cases, you +may want to turn this off. For example, in a development environment. + +In such case, add the `verify_peer` parameter to the DSN:: + + $dsn = 'smtp://user:pass@smtp.example.com?verify_peer=false' + Sending emails asynchronously -----------------------------