From 36273fc0377d62031eff65c5ff646df61ed91edf Mon Sep 17 00:00:00 2001 From: rlacko <rlacko@sch.bme.hu> Date: Mon, 28 Feb 2022 22:57:02 +0000 Subject: [PATCH] fix string memes --- src/common/email.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/email.py b/src/common/email.py index a8984da..27f96cd 100644 --- a/src/common/email.py +++ b/src/common/email.py @@ -25,8 +25,8 @@ def send_out_mail(subject, message, SENDER_EMAIL, receiver_email): email = EmailMessage( subject = subject, body = message, - from_email = 'SENDER_EMAIL', - to = ['receiver_email'], + from_email = SENDER_EMAIL, + to = [receiver_email, ], reply_to = [SENDER_EMAIL], ) email.send() -- GitLab