Commit 5989fc55 authored by Hiro's avatar Hiro 🏄
Browse files

Fix typo in script

parent bec352e6
......@@ -87,7 +87,7 @@ def send_email_from_gmail(password):
server = smtplib.SMTP_SSL('smtp.gmail.com', 465)
server.ehlo()
server.login(sent_from, password)
server.sendmail(sent_from, to, email_text)
server.sendmail(sent_from, sent_to, email_text)
server.close()
except Exception as e:
return UNKNOWN, str(e)
......
Supports Markdown
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