E5Network/E5GoogleMail.py

changeset 6825
e659bb96cdfa
parent 6823
55bda7c2404d
child 6828
bb6667ea9ae7
equal deleted inserted replaced
6824:4336bcb53879 6825:e659bb96cdfa
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
38 def isClientSecretFileAvailable(): 36 def isClientSecretFileAvailable():
39 """ 37 """
40 Module function to check, if the client secret file has been installed. 38 Module function to check, if the client secret file has been installed.
41 39
42 @return flag indicating, that the credentials file is there 40 @return flag indicating, that the credentials file is there

eric ide

mercurial