1
0
mirror of https://github.com/jumpserver/jumpserver.git synced 2025-05-02 05:13:21 +00:00

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

This commit is contained in:
jiangweidong 2025-02-28 11:58:20 +08:00 committed by Bryan
parent caa1e2e1ac
commit 2a250d13d8

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)