Added cron to send email and fixing settings error
This commit is contained in:
parent
72a21af789
commit
6d029fdeb5
15 changed files with 42 additions and 25 deletions
|
|
@ -21,7 +21,7 @@ class BaseEmail(object):
|
|||
|
||||
self.email = EmailMultiAlternatives(self.subject, text_content)
|
||||
self.email.attach_alternative(html_content, "text/html")
|
||||
self.email.to = ['info@digitalglarus.ch']
|
||||
self.email.to = ['levinoelvm@gmail.com']
|
||||
|
||||
def send(self):
|
||||
self.email.send()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue