oauth = OAuth2(client_id='11111111111111', client_secret='22222222222', access_token="3333333333333333")
client = Client(oauth)
shared_folder = client.folder(
folder_id='0',
).create_subfolder('shared_folder')
uploaded_file = shared_folder.upload('/path/to/filename')
shared_link = shared_folder.get_shared_link()
Installing
Now edit the SSMTP configuration file
It needs to include this:
Save and exit
No comments:
Post a Comment