diff --git a/apiserver/plane/bgtasks/email_verification_task.py b/apiserver/plane/bgtasks/email_verification_task.py index 220f96390..ba4ce6490 100644 --- a/apiserver/plane/bgtasks/email_verification_task.py +++ b/apiserver/plane/bgtasks/email_verification_task.py @@ -42,7 +42,6 @@ def email_verification(first_name, email, token, current_site): username=get_configuration_value(instance_configuration, "EMAIL_HOST_USER"), password=get_configuration_value(instance_configuration, "EMAIL_HOST_PASSWORD"), use_tls=bool(get_configuration_value(instance_configuration, "EMAIL_USE_TLS", "1")), - use_ssl=bool(get_configuration_value(instance_configuration, "EMAIL_USE_SSL", "0")), ) # Initiate email alternatives diff --git a/apiserver/plane/bgtasks/forgot_password_task.py b/apiserver/plane/bgtasks/forgot_password_task.py index 676ca5a9c..b924ad3a2 100644 --- a/apiserver/plane/bgtasks/forgot_password_task.py +++ b/apiserver/plane/bgtasks/forgot_password_task.py @@ -39,7 +39,6 @@ def forgot_password(first_name, email, uidb64, token, current_site): username=get_configuration_value(instance_configuration, "EMAIL_HOST_USER"), password=get_configuration_value(instance_configuration, "EMAIL_HOST_PASSWORD"), use_tls=bool(get_configuration_value(instance_configuration, "EMAIL_USE_TLS", "1")), - use_ssl=bool(get_configuration_value(instance_configuration, "EMAIL_USE_SSL", "0")), ) # Initiate email alternatives msg = EmailMultiAlternatives(subject=subject, body=text_content, from_email=get_configuration_value(instance_configuration, "EMAIL_FROM"), to=[email], connection=connection) diff --git a/apiserver/plane/bgtasks/project_invitation_task.py b/apiserver/plane/bgtasks/project_invitation_task.py index e6571d795..311ccec0a 100644 --- a/apiserver/plane/bgtasks/project_invitation_task.py +++ b/apiserver/plane/bgtasks/project_invitation_task.py @@ -53,7 +53,6 @@ def project_invitation(email, project_id, token, current_site, invitor): username=get_configuration_value(instance_configuration, "EMAIL_HOST_USER"), password=get_configuration_value(instance_configuration, "EMAIL_HOST_PASSWORD"), use_tls=bool(get_configuration_value(instance_configuration, "EMAIL_USE_TLS", "1")), - use_ssl=bool(get_configuration_value(instance_configuration, "EMAIL_USE_SSL", "0")), ) # Initiate email alternatives msg = EmailMultiAlternatives(subject=subject, body=text_content, from_email=get_configuration_value(instance_configuration, "EMAIL_FROM"), to=[email], connection=connection) diff --git a/apiserver/plane/bgtasks/workspace_invitation_task.py b/apiserver/plane/bgtasks/workspace_invitation_task.py index 477c7f6fa..7be1dbf60 100644 --- a/apiserver/plane/bgtasks/workspace_invitation_task.py +++ b/apiserver/plane/bgtasks/workspace_invitation_task.py @@ -69,9 +69,6 @@ def workspace_invitation(email, workspace_id, token, current_site, invitor): use_tls=bool( get_configuration_value(instance_configuration, "EMAIL_USE_TLS", "1") ), - use_ssl=bool( - get_configuration_value(instance_configuration, "EMAIL_USE_SSL", "0") - ), ) # Initiate email alternatives msg = EmailMultiAlternatives(