From ee04806b4566c6713b341977302208d5ddcd9ca8 Mon Sep 17 00:00:00 2001 From: Wiebe Verweij Date: Tue, 19 Mar 2024 22:57:13 +0100 Subject: [PATCH] Fix test_email command to use new SSL setting This was missed in pull request #3732 and/or the command didn't exist yet then ... --- apiserver/plane/db/management/commands/test_email.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apiserver/plane/db/management/commands/test_email.py b/apiserver/plane/db/management/commands/test_email.py index d36a784d0c7..99c5d9684f4 100644 --- a/apiserver/plane/db/management/commands/test_email.py +++ b/apiserver/plane/db/management/commands/test_email.py @@ -23,6 +23,7 @@ def handle(self, *args, **options): EMAIL_HOST_PASSWORD, EMAIL_PORT, EMAIL_USE_TLS, + EMAIL_USE_SSL, EMAIL_FROM, ) = get_email_configuration() @@ -32,6 +33,7 @@ def handle(self, *args, **options): username=EMAIL_HOST_USER, password=EMAIL_HOST_PASSWORD, use_tls=EMAIL_USE_TLS == "1", + use_ssl=EMAIL_USE_SSL == "1", timeout=30, ) # Prepare email details