From 2bf1a63cfc532fd5aaa3e90f9c474622dacd6c02 Mon Sep 17 00:00:00 2001 From: Fredrik Svantes Date: Wed, 30 Oct 2024 16:22:55 +0100 Subject: [PATCH] send emails in debug_mode --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index 5b87a6e..baf2477 100644 --- a/server.py +++ b/server.py @@ -204,6 +204,7 @@ def submit(): if Config.DEBUG_MODE: print(f"Attempt to send email to {to_email}") print(message.get()) + send_email(message) else: send_email(message)