diff --git a/bot.py b/bot.py index daf3b6f7f4353689d2adcf44b771552ac4a25689..d9a03eb05a0ebe084e6f96a55bb8ebef89c2fad1 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