From 4899b53928ae0932ae43903f2c8644334ad8cdd6 Mon Sep 17 00:00:00 2001 From: amy <milkdrop2000@protonmail.com> Date: Mon, 19 Oct 2020 21:08:20 +0200 Subject: [PATCH] quick smtp fix --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index daf3b6f..d9a03eb 100644 --- a/bot.py +++ b/bot.py @@ -64,7 +64,7 @@ Subject: SMTP e-mail test This is a test e-mail message. """ -smtpObj = smtplib.SMTP('smtp.soton.ac.uk') +smtpObj = SMTP('smtp.soton.ac.uk') smtpObj.sendmail(sender, receivers, message) token = open(tokenFile, "r").read().strip() client.run(token) \ No newline at end of file -- GitLab