Skip to content

Commit

Permalink
feat(smtp): Set for sending each email to user.
Browse files Browse the repository at this point in the history
  • Loading branch information
DoyunShin committed Nov 7, 2023
1 parent 91e5702 commit b1fc94b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/core/management/scripts/reminder_email_for_reply.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ 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(
title: str,
message: str,
sender_mail: str,
mailing_list: list[str],
each: bool = False,
each: bool = True,
):
"""
Send email using SMTP relay gmail server.
Expand Down

0 comments on commit b1fc94b

Please sign in to comment.