def exits(): from sendText import sendText, getCredentials, getRecepients subject = 'Exits' recepients = getRecepients() #recepients = ('*****@*****.**') body = 'Reminder: Nearest Exit?' print(body) #print (recepients[0]) sendText(subject, body, getCredentials(), recepients[0])
def exits(): from sendText import sendText, getCredentials, getRecepients subject = 'Exits' recepients = getRecepients() #recepients = ('*****@*****.**') body = 'Reminder: Nearest Exit?' print (body) #print (recepients[0]) sendText(subject,body,getCredentials(),recepients[0])
def disaster(): from sendText import sendText, getCredentials, getRecepients subject = 'SIMULATED Alert' recepients = getRecepients() #recepients = ('*****@*****.**') body = 'SIMULATED alert. Situation: {}. Your status: {}'.format( getDisaster(), getStatus() ) print (body) #print (recepients[0]) sendText(subject,body,getCredentials(),recepients[0])
def disaster(): from sendText import sendText, getCredentials, getRecepients subject = 'SIMULATED Alert' recepients = getRecepients() #recepients = ('*****@*****.**') body = 'SIMULATED alert. Situation: {}. Your status: {}'.format( getDisaster(), getStatus()) print(body) #print (recepients[0]) sendText(subject, body, getCredentials(), recepients[0])
def runDebug(): from sendText import getRecepients print(getRecepients()) print(getRecepients()[0])
def runDebug(): from sendText import getRecepients print( getRecepients() ) print( getRecepients()[0] )