Skip to content

Python client for Microsoft Exchange Web Services (EWS)

License

Notifications You must be signed in to change notification settings

claell/exchangelib

This branch is 119 commits behind ecederstrand/exchangelib:master.

Folders and files

NameName
Last commit message
Last commit date
Jul 23, 2023
Aug 22, 2023
Aug 23, 2023
Oct 11, 2022
Aug 23, 2023
Oct 21, 2020
Mar 11, 2021
May 8, 2022
Jul 22, 2023
Aug 22, 2023
Dec 10, 2019
Jan 27, 2020
Jul 31, 2018
Jul 22, 2023
May 9, 2022
Nov 23, 2022
May 8, 2022
May 9, 2022
Aug 21, 2023
Jul 22, 2023

Repository files navigation

Exchange Web Services client library

This module is an ORM for your Exchange mailbox, providing Django-style access to all your data. It is a platform-independent, well-performing, well-behaving, well-documented, well-tested and simple interface for communicating with an on-premise Microsoft Exchange 2007-2016 server or Office365 using Exchange Web Services (EWS). Among other things, it implements autodiscover, and functions for searching, creating, updating, deleting, exporting and uploading calendar, mailbox, task, contact and distribution list items.

image image image image xscode

Teaser

Here's a short example of how exchangelib works. Let's print the first 100 inbox messages in reverse order:

from exchangelib import Credentials, Account

credentials = Credentials("john@example.com", "topsecret")
account = Account("john@example.com", credentials=credentials, autodiscover=True)

for item in account.inbox.all().order_by("-datetime_received")[:100]:
    print(item.subject, item.sender, item.datetime_received)

Documentation

Documentation is available at https://ecederstrand.github.io/exchangelib/. Source code documentation is available at https://ecederstrand.github.io/exchangelib/exchangelib/.

About

Python client for Microsoft Exchange Web Services (EWS)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%