Merge pull request #98 from levivm/develop

changing defualt 'from email' to no-reply@ungleich.ch
This commit is contained in:
Levi Velázquez 2016-06-24 00:49:28 -05:00 committed by GitHub
commit 80dcd83777

View file

@ -21,7 +21,7 @@ class BaseEmail(object):
self.email = EmailMultiAlternatives(self.subject, text_content) self.email = EmailMultiAlternatives(self.subject, text_content)
self.email.attach_alternative(html_content, "text/html") self.email.attach_alternative(html_content, "text/html")
self.email.from_email = 'no-replay@ungleich.ch' self.email.from_email = '(Ungleich) Support <no-reply@ungleich.com>'
self.email.to = [kwargs.get('to', 'info@ungleich.com')] self.email.to = [kwargs.get('to', 'info@ungleich.com')]
def send(self): def send(self):