From ec6ced8f9e37ea17e249bcbff86e06c5b6f4240d Mon Sep 17 00:00:00 2001 From: Levi Date: Fri, 24 Jun 2016 00:40:08 -0500 Subject: [PATCH] adding from email for sending emails --- utils/mailer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/mailer.py b/utils/mailer.py index 0afa60b7..380287e2 100644 --- a/utils/mailer.py +++ b/utils/mailer.py @@ -21,7 +21,8 @@ class BaseEmail(object): self.email = EmailMultiAlternatives(self.subject, text_content) self.email.attach_alternative(html_content, "text/html") - self.email.to = ['levinoelvm@gmail.com'] + self.email.from_email = 'no-replay@ungleich.ch' + self.email.to = ['info@ungleich.com'] def send(self): self.email.send()