From 55ae8bb5e6cc69ad0278c032425102be3f93c06b Mon Sep 17 00:00:00 2001 From: xinwen Date: Thu, 4 Jun 2020 16:47:43 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=20=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE/?= =?UTF-8?q?=E9=82=AE=E4=BB=B6=E8=AE=BE=E7=BD=AE/=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E5=A4=B1=E8=B4=A5=20(#4081)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/settings/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/settings/api.py b/apps/settings/api.py index fb3740c1f..6e7fd7248 100644 --- a/apps/settings/api.py +++ b/apps/settings/api.py @@ -55,7 +55,7 @@ class MailTestingAPI(APIView): email_recipient = email_recipient or email_from connection = get_connection( host=email_host, port=email_port, - uesrname=email_host_user, password=email_host_password, + username=email_host_user, password=email_host_password, use_tls=email_use_tls, use_ssl=email_use_ssl, ) send_mail(