🛡️ Warracker is an open source, self-hostable warranty tracker to monitor expirations, store receipts, files. You own the data, your rules!
no need to re-import smtplib
Christopher McAvaney0ab8cc0f4164
diff --git a/backend/app.py b/backend/app.pyindex 3133962..2f9be3f 100644--- a/backend/app.py+++ b/backend/app.py@@ -2707,7 +2707,6 @@ def send_expiration_notifications(manual_trigger=False):try:# Use SMTP_SSL for port 465, regular SMTP for other portsif smtp_port == 465:- import smtpliblogger.info(f"Using SMTP_SSL connection for port 465")server = smtplib.SMTP_SSL(smtp_host, smtp_port)else: