From b1fc94b78a156cb4c4b194624f6a5155d567190a Mon Sep 17 00:00:00 2001 From: DoyunShin Date: Tue, 7 Nov 2023 17:17:55 +0900 Subject: [PATCH] feat(smtp): Set for sending each email to user. --- apps/core/management/scripts/reminder_email_for_reply.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/core/management/scripts/reminder_email_for_reply.py b/apps/core/management/scripts/reminder_email_for_reply.py index 2341a3dd..59f00920 100644 --- a/apps/core/management/scripts/reminder_email_for_reply.py +++ b/apps/core/management/scripts/reminder_email_for_reply.py @@ -102,7 +102,7 @@ def send_email(): mailing_list = _get_mailing_list() - smtp_send(title, message, "new-ara@sparcs.org", mailing_list) + smtp_send(title, message, "new-ara@sparcs.org", mailing_list, False) def smtp_send( @@ -110,7 +110,7 @@ def smtp_send( message: str, sender_mail: str, mailing_list: list[str], - each: bool = False, + each: bool = True, ): """ Send email using SMTP relay gmail server.