From 2a250d13d8a54a0cea3078e007acb829ebe7e18c Mon Sep 17 00:00:00 2001 From: jiangweidong <1053570670@qq.com> Date: Fri, 28 Feb 2025 11:58:20 +0800 Subject: [PATCH] fix: Solve the problem that some messages cannot be sent from unauthenticated email --- apps/notifications/backends/email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/notifications/backends/email.py b/apps/notifications/backends/email.py index 1f5934450..8ecab470b 100644 --- a/apps/notifications/backends/email.py +++ b/apps/notifications/backends/email.py @@ -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)