Module exchangelib.items.post
Classes
class PostItem (**kwargs)-
Expand source code
class PostItem(Item): """MSDN: https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/postitem""" ELEMENT_NAME = "PostItem" conversation_index = Message.FIELDS["conversation_index"] conversation_topic = Message.FIELDS["conversation_topic"] author = Message.FIELDS["author"] message_id = Message.FIELDS["message_id"] is_read = Message.FIELDS["is_read"] posted_time = DateTimeField(field_uri="postitem:PostedTime", is_read_only=True) references = TextField(field_uri="message:References") sender = MailboxField(field_uri="message:Sender", is_read_only=True, is_read_only_after_send=True)MSDN: https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/postitem
Pick out optional 'account' and 'folder' kwargs, and pass the rest to the parent class.
:param kwargs: 'account' is optional but allows calling 'send()' and 'delete()' 'folder' is optional but allows calling 'save()'. If 'folder' has an account, and 'account' is not set, we use folder.account.
Ancestors
Class variables
var ELEMENT_NAMEvar FIELDS
Instance variables
var conversation_indexvar conversation_topicvar is_readvar message_idvar posted_timevar referencesvar sender
Inherited members
class PostReplyItem (**kwargs)-
Expand source code
class PostReplyItem(Item): """MSDN: https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/postreplyitem""" ELEMENT_NAME = "PostReplyItem" # This element only has Item fields up to, and including, 'culture' # TDO: Plus all message fields new_body = BodyField(field_uri="NewBodyContent") # Accepts and returns Body or HTMLBody instances culture_idx = Item.FIELDS.index_by_name("culture") sender_idx = Message.FIELDS.index_by_name("sender") FIELDS = Item.FIELDS[: culture_idx + 1] + Message.FIELDS[sender_idx:]MSDN: https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/postreplyitem
Pick out optional 'account' and 'folder' kwargs, and pass the rest to the parent class.
:param kwargs: 'account' is optional but allows calling 'send()' and 'delete()' 'folder' is optional but allows calling 'save()'. If 'folder' has an account, and 'account' is not set, we use folder.account.
Ancestors
Class variables
var ELEMENT_NAMEvar FIELDSvar culture_idxvar sender_idx
Instance variables
var bcc_recipientsvar cc_recipientsvar conversation_indexvar conversation_topicvar is_delivery_receipt_requestedvar is_readvar is_read_receipt_requestedvar is_response_requestedvar message_idvar new_bodyvar received_byvar received_representingvar referencesvar reminder_message_datavar reply_tovar sendervar to_recipients
Inherited members