Enable email sending
This commit is contained in:
parent
3f246b6037
commit
917ddf26ba
@ -294,8 +294,8 @@ def report(token):
|
||||
subscribed=subscribed,
|
||||
unsubscribed=unsubscribed)
|
||||
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
|
||||
# Report.delete().execute()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user