From 7a367cd8de79339fb27a7b44a229cf0053955c15 Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Tue, 4 Jun 2024 18:56:09 +0200 Subject: [PATCH] use correct to address in log message --- hedgedoc-expire.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hedgedoc-expire.py b/hedgedoc-expire.py index 4ed4e6a..b85fa26 100644 --- a/hedgedoc-expire.py +++ b/hedgedoc-expire.py @@ -69,7 +69,7 @@ class EmailSender: except Exception as e: print(f'Unable to send mail through {self}: {e}') raise e - print(f'Report email to {self.mail_from} sent successfully.') + print(f'Report email to {message['To']} sent successfully.') def __str__(self): return f'EmailSender<{self.hostname},{self.port},{self.username},{self.mail_from}>'