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

pull/4082/head
xinwen 5 years ago committed by GitHub
parent dbcf785e42
commit 55ae8bb5e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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(

Loading…
Cancel
Save