Notification rework - SMTP v0.3 - WIP👷‍♂️

This commit is contained in:
Jokob-sk
2023-10-08 22:49:50 +11:00
parent bd9f68bb27
commit 78c18aa100
2 changed files with 6 additions and 11 deletions

View File

@@ -259,10 +259,12 @@ def get_notifications (db):
write_file (logPath + '/report_output.txt', final_text)
write_file (logPath + '/report_output.html', final_html)
mylog('minimal', ['[Notification] Udating API files'])
send_api()
return noti_obj(final_json, final_text, final_html)
# mylog('minimal', ['[Notification] Udating API files'])
# send_api()
# if conf.REPORT_MAIL and check_config('email'):
# updateState("Send: Email")