Skip to main content

Microsoft Office 365 EWS (Exchange Web Services) Client Library

Project description

Overview

Microsoft Office 365 EWS (Exchange Web Services) Client Library

Usage

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 Email Draft

Office 365 Email Draft

Office 365 Email Draft

The above email draft was generated by running the below command:

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyEwsClient-1.2.tar.gz (103.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page