add some stats directly to email subject when sending stats
This commit is contained in:
parent
61c1ed10d7
commit
d8d0cd9f07
2
cron.py
2
cron.py
|
@ -74,7 +74,7 @@ def stats():
|
||||||
|
|
||||||
send_email(
|
send_email(
|
||||||
ADMIN_EMAIL,
|
ADMIN_EMAIL,
|
||||||
subject=f"SimpleLogin Stats for {today}",
|
subject=f"SimpleLogin Stats for {today}, {nb_user} users, {nb_gen_email} aliases, {nb_forward} forwards",
|
||||||
plaintext="",
|
plaintext="",
|
||||||
html=f"""
|
html=f"""
|
||||||
Stats for {today} <br>
|
Stats for {today} <br>
|
||||||
|
|
Loading…
Reference in a new issue