Commit 4a884856 authored by Mijian Xu's avatar Mijian Xu 😷 Committed by GitHub
Browse files

Update util.py

parent 5a5635e3
......@@ -29,6 +29,3 @@ def sendmail(recipient, contents):
smtpObj.sendmail('localhost', recipient, msg.as_string())
except smtplib.SMTPException:
print("Error when send mail")
if __name__ == '__main__':
sendmail('gomijianxu@gmail.com', 'test')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment