提交 c411b0a3 编写于 作者: B Bai

Merge branch 'dev' of https://github.com/jumpserver/jumpserver into dev

...@@ -55,7 +55,7 @@ class MailTestingAPI(APIView): ...@@ -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(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册