From a1ce6020bc31ce49cb5b0c6b15a451be755bda3d Mon Sep 17 00:00:00 2001 From: fliespl Date: Tue, 28 Jul 2020 13:05:34 +0200 Subject: [PATCH] verify_peer in dsn should be 0 Setting it to false value resolves to true in php 7.4 since false is taken as string. --- components/mailer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mailer.rst b/components/mailer.rst index 1f004e90bc6..7e2dd89e798 100644 --- a/components/mailer.rst +++ b/components/mailer.rst @@ -171,7 +171,7 @@ configurable with the ``verify_peer`` option. Although it's not recommended to disable this verification for security reasons, it can be useful while developing the application or when using a self-signed certificate:: - $dsn = 'smtp://user:pass@smtp.example.com?verify_peer=false' + $dsn = 'smtp://user:pass@smtp.example.com?verify_peer=0' .. versionadded:: 5.1