Microsoft Office 365 EWS(Exchange Web服务)客户端库
PyEwsClient的Python项目详细描述
概述
Microsoft Office 365 EWS(Exchange Web服务)客户端库
用法
usage: test.py [-h] (-s SERVER | --autodiscover) -u USERNAME -p PASSWORD [-a ATTACHMENT] [-l LOG_LEVEL] PyEwsClient - Microsoft Office 365 Client Library Testing Tool examples: python3 tests/test.py -u email@office365.com -p password --autodiscover -l 5 python3 tests/test.py -u email@office365.com -p password --autodiscover \ -a tests/attach1.txt -a tests/attach2.txt -l 1 python3 tests/test.py --help optional arguments: -h, --help show this help message and exit -l LOG_LEVEL, --log-level LOG_LEVEL log level (default: 0) network connectivity arguments: -s SERVER, --server SERVER Office 365 Server --autodiscover Office 365 Autodiscovery On authentication arguments: -u USERNAME, --user USERNAME Office 365 Username -p PASSWORD, --password PASSWORD Office 365 Password email arguments: -a ATTACHMENT, --attachment ATTACHMENT Email Attachment(s) documentation: https://github.com/greenpau/PyEwsClient
Office 365电子邮件草稿
Office 365电子邮件草稿
上述电子邮件草稿是通过运行以下命令生成的:
wget https://raw.githubusercontent.com/greenpau/PyEwsClient/master/tests/test.py -q chmod +x test.py wget https://raw.githubusercontent.com/greenpau/PyEwsClient/master/tests/attach1.txt -q wget https://raw.githubusercontent.com/greenpau/PyEwsClient/master/tests/attach2.txt -q python3 test.py -u email@office365.com -p password --autodiscover \ -a attach1.txt -a attach2.txt