Exchangelib Message fields #1039
-
Hi - I am iterating over email messages to extract some fields. However, I am getting an error "Message object has no attribute 'name of field'". To simplify, I replicated the errors with a simple print. I also used hasattr() to check which attributes belong to the object. I copied the field names from [exchangelib message attributes error.pdf] |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Those are not the correct field names for the |
Beta Was this translation helpful? Give feedback.
Those are not the correct field names for the
Message
class in exchangelib. You can see field names at https://ecederstrand.github.io/exchangelib/exchangelib/items/message.html#exchangelib.items.message.Message or just by printingMessage.FIELDS
.