From b2c0c961efcfac81eb19cd87243eef701bd3e94b 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()