Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cecylia Bocovich
gettor
Commits
e156e968
Commit
e156e968
authored
Sep 30, 2019
by
Hiro
🏄
Browse files
Update check service script
parent
39f2b50e
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/check_service
View file @
e156e968
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment