E5Network/E5GoogleMail.py

changeset 6823
55bda7c2404d
parent 6817
8fb29a716d1a
child 6825
e659bb96cdfa
equal deleted inserted replaced
6822:f34e48fdfd92 6823:55bda7c2404d
31 CLIENT_SECRET_FILE = 'eric_client_secret.json' 31 CLIENT_SECRET_FILE = 'eric_client_secret.json'
32 CREDENTIALS_FILE = 'eric-python-email-send.pickle' 32 CREDENTIALS_FILE = 'eric-python-email-send.pickle'
33 APPLICATION_NAME = 'Eric Python Send Email' 33 APPLICATION_NAME = 'Eric Python Send Email'
34 34
35 35
36 # TODO: rework this to use "requests-outhlib" and a minimalistic web browser
37 # window for authorization
36 def isClientSecretFileAvailable(): 38 def isClientSecretFileAvailable():
37 """ 39 """
38 Module function to check, if the client secret file has been installed. 40 Module function to check, if the client secret file has been installed.
39 41
40 @return flag indicating, that the credentials file is there 42 @return flag indicating, that the credentials file is there

eric ide

mercurial