コード例 #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
ファイル: main.py プロジェクト: Steve-V/sdv-disaster-training
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
ファイル: main.py プロジェクト: Steve-V/sdv-disaster-training
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
ファイル: main.py プロジェクト: Steve-V/sdv-disaster-training
def runDebug():
    from sendText import getRecepients
    print( getRecepients() )
    print( getRecepients()[0] )