From 9cd16199900941291c0ddbc75a07ccbf5abd02ef Mon Sep 17 00:00:00 2001 From: jiangweidong <1053570670@qq.com> Date: Fri, 28 Feb 2025 11:56:13 +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 034557f8a..4c845df12 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)