From 44cb3aef4d4886cf5ead554d72f8df73a7f724b3 Mon Sep 17 00:00:00 2001 From: Levi Date: Fri, 24 Jun 2016 00:45:21 -0500 Subject: [PATCH] changing defualt 'from email' to no-reply@ungleich.ch --- utils/mailer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/mailer.py b/utils/mailer.py index 380287e2..7b848c28 100644 --- a/utils/mailer.py +++ b/utils/mailer.py @@ -22,7 +22,7 @@ class BaseEmail(object): self.email = EmailMultiAlternatives(self.subject, text_content) self.email.attach_alternative(html_content, "text/html") self.email.from_email = 'no-replay@ungleich.ch' - self.email.to = ['info@ungleich.com'] + self.email.to = [kwargs.get('to', 'info@ungleich.com')] def send(self): self.email.send()