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
eef49f90
Commit
eef49f90
authored
Sep 30, 2019
by
Hiro
🏄
Browse files
Update check script
parent
64bee8dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/check_service
View file @
eef49f90
...
@@ -61,6 +61,7 @@ def test_email_from_gmail(password):
...
@@ -61,6 +61,7 @@ def test_email_from_gmail(password):
if
(
MESSAGE_FROM
==
email_from
)
and
(
MESSAGE_SUBJECT
==
email_subject
)
and
(
MESSAGE_BODY
in
email_body
):
if
(
MESSAGE_FROM
==
email_from
)
and
(
MESSAGE_SUBJECT
==
email_subject
)
and
(
MESSAGE_BODY
in
email_body
):
mail
.
store
(
str
(
i
),
'+FLAGS'
,
'
\\
Deleted'
)
mail
.
store
(
str
(
i
),
'+FLAGS'
,
'
\\
Deleted'
)
mail
.
close
()
return
OK
,
"GetTor is good and sending emails with working links"
return
OK
,
"GetTor is good and sending emails with working links"
else
:
else
:
mail
.
store
(
str
(
i
),
'+FLAGS'
,
'
\\
Deleted'
)
mail
.
store
(
str
(
i
),
'+FLAGS'
,
'
\\
Deleted'
)
...
...
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