Enable email sending
This commit is contained in:
parent
d40cef9a25
commit
c149a44d6d
1 changed files with 2 additions and 2 deletions
|
@ -294,8 +294,8 @@ def report(token):
|
||||||
subscribed=subscribed,
|
subscribed=subscribed,
|
||||||
unsubscribed=unsubscribed)
|
unsubscribed=unsubscribed)
|
||||||
subject = get_template('report_message').render(site=site.name)
|
subject = get_template('report_message').render(site=site.name)
|
||||||
print(email_body)
|
|
||||||
#mail(site.admin_email, subject, email_body)
|
mail(site.admin_email, subject, email_body)
|
||||||
|
|
||||||
# TODO: delete report table
|
# TODO: delete report table
|
||||||
# Report.delete().execute()
|
# Report.delete().execute()
|
||||||
|
|
Loading…
Add table
Reference in a new issue