Commit e156e968 authored by Hiro's avatar Hiro 🏄
Browse files

Update check service script

parent 39f2b50e
...@@ -86,6 +86,7 @@ def send_email_from_gmail(password): ...@@ -86,6 +86,7 @@ def send_email_from_gmail(password):
mail.login(sent_from, password) mail.login(sent_from, password)
mail.sendmail(sent_from, sent_to, email_text) mail.sendmail(sent_from, sent_to, email_text)
mail.close() mail.close()
return OK, "Test email sent"
except Exception as e: except Exception as e:
return UNKNOWN, str(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