adding from email for sending emails

This commit is contained in:
Levi 2016-06-24 00:40:08 -05:00
parent ea47d39372
commit b2c0c961ef

View file

@ -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()