perf(notification): 发送html msg

pull/6294/head
ibuler 2021-06-17 12:19:05 +08:00 committed by 老广
parent 2ca659414e
commit b5120e72c8
1 changed files with 1 additions and 1 deletions

View File

@ -11,4 +11,4 @@ class Email(BackendBase):
def send_msg(self, users, subject, message):
from_email = settings.EMAIL_FROM or settings.EMAIL_HOST_USER
accounts, __, __ = self.get_accounts(users)
send_mail(subject, message, from_email, accounts)
send_mail(subject, message, from_email, accounts, html_message=message)