Some changes

This commit is contained in:
Sebastian Serfling
2025-10-31 18:33:40 +01:00
parent 4b40b177c3
commit 12058896c3
6 changed files with 143 additions and 76 deletions
+6
View File
@@ -47,3 +47,9 @@ def send_report_email(msg: str, process: str):
subject = f"✅ Prozess abgeschlossen: {process}"
body = f"Prozess: {process}\nZeit: {datetime.datetime.now()}\n\nErgebnisbericht:\n{msg}"
send_email(subject, body)
def send_success_email(msg: str, process: str):
"""Sendet Erfolgs-Mail"""
subject = f"✅ Erfolg: {process}"
body = "Alles OK!"
send_email(subject, body)