changing defualt 'from email' to no-reply@ungleich.ch
This commit is contained in:
parent
b85ecd5c38
commit
38332561d3
1 changed files with 1 additions and 1 deletions
|
@ -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 = '(Ungleich) Support <no-reply@ungleich.com>'
|
self.email.from_email = '(Ungleich) 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):
|
||||||
|
|
Loading…
Reference in a new issue