Closed EpsiophI closed 3 years ago
There’s nothing in exchangelib that would cause this, AFAIK. Google seems to suggest it’s either caused by other processes updating the same items simultaneously, or a bug in Exchange. See eg. https://stackoverflow.com/questions/38102586/errorirresolvableconflict-while-creating-an-event
Also, if you just need to edit the subject, you can improve performance if you just fetch the subject field (must be combined withe the update_fields
attr):
for message in inbox.all().only('subject').order_by('-datetime_received')[:10]:
message.subject = "Modified Subject"
message.save(update_fields=['subject'])
Closing this issue as I don't think it's a problem in exchangelib. Feel free to reopen if you think otherwise.
I had to use exchangelib, to modify the subject of some of my emails. The following is the line of code that I am using to modify the email subjects. I am using App details with the exchangelib package.
The update message operation is throwing the below error: