fix: Solve the problem that some messages cannot be sent from unauthenticated email

pull/14956/head
jiangweidong 2025-02-28 11:58:20 +08:00 committed by Bryan
parent caa1e2e1ac
commit 2a250d13d8
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ from .base import BackendBase
class Email(BackendBase):
account_field = 'email'
is_enable_field_in_settings = 'EMAIL_HOST_USER'
is_enable_field_in_settings = 'EMAIL_HOST'
def send_msg(self, users, message, subject):
accounts, __, __ = self.get_accounts(users)