forked from tostan/rapidsms-tostan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of git://github.com/tostan/rapidsms-tostan
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/python | ||
|
||
# CONFIGURATION ########################################################## | ||
# email address to use in the to field | ||
recipient = 'rluk@dimagi.com' | ||
recipient = 'jokkoinitiative@gmail.com' | ||
|
||
# email address to use in the from field | ||
sender = '[email protected]' | ||
|
@@ -59,9 +59,9 @@ def main_loop(): | |
# create a list of tests that failed | ||
problemlist = '' | ||
if http_200 == False: | ||
problemlist = problemlist + 'could not connect\n' | ||
problemlist = problemlist + 'SMS Process is not responding.\n' | ||
if http_success == False: | ||
problemlist = problemlist + 'did not display\n' | ||
problemlist = problemlist + 'SMS Process status is not available.\n' | ||
print problemlist | ||
send_email(problemlist) | ||
print 'attempted to send mail' | ||
|