Questions tagged [exchangelib]

exchangelib is a Python package which provides an interface for communicating with a Microsoft Exchange 2007-2016 Server or Office365 using Exchange Web Services (EWS).

See also

235 questions
0
votes
2 answers

python3 exchangelib credentials

Im trying to log into an exchangeserver with the exchangelib. When I try to run the script it gives me an error: File "/usr/local/lib/python3.5/dist-packages/exchangelib/protocol.py", line 61, in init assert isinstance(credentials,…
0
votes
1 answer

Exchangelib office365 auth fail: infinite loop

I'm trying to configure python exchangelib for Office365 but somehow it doesn't work, not sure if it's because of the corporate firewalls, or misconfiguration. I've tried 40+ configs, with and without autodiscover links. I'm trying to connect to a…
dubsauce
  • 43
  • 5
-1
votes
1 answer

Trying to read emails from webmail using exchangelib

I am trying to read the emails from my Webmail account but end up getting the following error: "name": "MalformedResponseError", "message": "Unknown failure in response. Code: 404 headers: {'Date': 'Fri, 14 Jul 2023 10:41:23 GMT', …
-1
votes
1 answer

What's a unique folder id?

I'm setting folders in my dbms by identifying their folder.absolute name as a key. In the case such name changes, a "different new" folder is detected by my python script. How I can choose a real and universal (the same key through different calling…
Elisa
  • 25
  • 3
-1
votes
1 answer

How to send html table content in an outlook email using python exchangelib

I'm trying to send an HTML table into outlook email through the python exchangelib package. However, when the email is received on the delivery end it is showing HTML contents as plain text. What must be the reason for this? How we can set up the…
Aaditya R Krishnan
  • 495
  • 1
  • 10
  • 31
-1
votes
1 answer

Exchangelib: Filtering email by conversation_id

I am trying using exchangelib to read emails with certain conversation_id and only read 2 attributes: eid and datetime_received. I don't know why the following code doesn't work: from exchangelib import Credentials, Account, Configuration, DELEGATE,…
gunardilin
  • 349
  • 3
  • 12
-1
votes
4 answers

python exchangelib item output

I can't figure out how to get only the first item from a list loop. I am trying to get the first/next calendar item from exchangelib: My code: (...) x = 5000 # minutes in future to look for calendar items calendar = art( start=time, …
Biorez
  • 59
  • 8
-1
votes
1 answer

wipe exchange folder to specified size

I am trying to delete messages in an Exchange folder until the folder size reaches a specified value in bytes. Here is my example code: def get_foldersize(folder): if folder.__class__ != folders.Messages: return -1 return…
-2
votes
1 answer

Description/text_body while creating event through exchangelib

While creating an event, is there any way to add description or do anything with item.text_body?
-2
votes
1 answer

Apply Regex in filter() in exchangelib

I am working on a script that needs to filter subject using regex. Does exchangelib support that? If so, can I get some examples?
Ladu anand
  • 646
  • 2
  • 8
  • 30
1 2 3
15
16