From 6129db2379fb19430c48ae965261f77e88eeeae3 Mon Sep 17 00:00:00 2001 From: Rich Oberholtzer Date: Mon, 11 Nov 2019 23:08:55 -0500 Subject: [PATCH] Disable TLS and login - not needed for my mail relay --- secret_santa.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/secret_santa.py b/secret_santa.py index 02f3ac7..563476a 100644 --- a/secret_santa.py +++ b/secret_santa.py @@ -151,8 +151,8 @@ call with the --send argument: if send: server = smtplib.SMTP(config['SMTP_SERVER'], config['SMTP_PORT']) - server.starttls() - server.login(config['USERNAME'], config['PASSWORD']) + #server.starttls() + #server.login(config['USERNAME'], config['PASSWORD']) for pair in pairs: zone = pytz.timezone(config['TIMEZONE']) now = zone.localize(datetime.datetime.now())