remove smtp authentication

This commit is contained in:
2024-05-26 03:44:14 -05:00
parent 0509d53e25
commit e1b69913a4

View File

@@ -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)