Exchange OWA using Python?

Grant Edwards grant.b.edwards at gmail.com
Thu Mar 31 10:41:23 EDT 2022


Is anybody aware of any Python code for the Exchange OWA protocol/API?

The OWA e-mail client I've been using has stopped working. It was a
commerical Python application named Hiri, wich has been abandoned by
the developer.

So, for now, I'm stuck with the OWA web client. It's clumsy and
everything takes 3X as long to accomplish as it would with a real
e-mail client, but I can survive with it if I have to. [Retirement's
not that far away...] The main problem with the web client is lack of
notification when new mail arrives. Even if you always have a browser
running (I don't), and have a tab that has the OWA client running (I
often don't), notification doesn't seem to work reliably (and when it
does work, it doesn't use the standard linux desktop notification
system).

Back when the Exchange IMAP server was enabled (and I used mutt as my
e-mail client), I wrote a e-mail notifier app in Python/GTK, so I knew
when new mail was waiting.

I've been wondering if it would be possible to do the same thing using
the Exchange OWA API/protocol instead of IMAP?

But, I haven't found any Python support for OWA.  I've found libraries
for the older Exchange EWS API, but AFAICT the Exchange server in
question doesn't support EWS, only OWA.

I've also found a bunch of info for Outlook/REST and Office365/REST,
but I'm pretty sure those won't work either...

--
Grant





More information about the Python-list mailing list