示例#1
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])
示例#2
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])
示例#3
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])
示例#4
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])
示例#5
0
def runDebug():
    from sendText import getRecepients
    print(getRecepients())
    print(getRecepients()[0])
示例#6
0
def runDebug():
    from sendText import getRecepients
    print( getRecepients() )
    print( getRecepients()[0] )