From e1b69913a4129db6763daffe6912eca2fe7ebc22 Mon Sep 17 00:00:00 2001 From: Daniel Tam Date: Sun, 26 May 2024 03:44:14 -0500 Subject: [PATCH] remove smtp authentication --- main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.py b/main.py index 91be1dc..eb61d69 100644 --- a/main.py +++ b/main.py @@ -175,8 +175,6 @@ def send_alert(config, title, text, url, timestamp, keyword): try: with smtplib.SMTP(config.get('smtp_server'), config.get('smtp_port')) as server: - server.login(config.get('smtp_username'), - config.get('smtp_password')) text = message.as_string() server.sendmail(smtp_from, smtp_to, text)