[Fix] 系统设置/邮件设置/测试链接失败 (#4081)

pull/4082/head
xinwen 2020-06-04 16:47:43 +08:00 committed by GitHub
parent dbcf785e42
commit 55ae8bb5e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class MailTestingAPI(APIView):
email_recipient = email_recipient or email_from email_recipient = email_recipient or email_from
connection = get_connection( connection = get_connection(
host=email_host, port=email_port, 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, use_tls=email_use_tls, use_ssl=email_use_ssl,
) )
send_mail( send_mail(