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
Instance variables
-
The type of the None singleton.
var conversation_index-
The type of the None singleton.
var conversation_topic-
The type of the None singleton.
var is_read-
The type of the None singleton.
var message_id-
The type of the None singleton.
var posted_time-
The type of the None singleton.
var references-
The type of the None singleton.
var sender-
The type of the None singleton.
Inherited members
Item:ELEMENT_NAMEFIELDSID_ELEMENT_CLSINSERT_AFTER_FIELDNAMESPACEadd_fieldattachattachmentsbodycategoriesconversation_idculturedatetime_createddatetime_receiveddatetime_sentderegisterdetachdisplay_ccdisplay_toeffective_rightshas_attachmentsheadersimportancein_reply_tois_associatedis_draftis_from_meis_resendis_submittedis_unmodifieditem_classlast_modified_namelast_modified_timemime_contentparent_folder_idregisterreminder_due_byreminder_is_setreminder_minutes_before_startremove_fieldresponse_objectssensitivitysizesubjectsupported_fieldstext_bodyunique_bodyvalidate_fieldweb_client_edit_form_query_stringweb_client_read_form_query_string
-
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 culture_idx-
The type of the None singleton.
var sender_idx-
The type of the None singleton.
Instance variables
-
The type of the None singleton.
var bcc_recipients-
The type of the None singleton.
var cc_recipients-
The type of the None singleton.
var conversation_index-
The type of the None singleton.
var conversation_topic-
The type of the None singleton.
var is_delivery_receipt_requested-
The type of the None singleton.
var is_read-
The type of the None singleton.
var is_read_receipt_requested-
The type of the None singleton.
var is_response_requested-
The type of the None singleton.
var message_id-
The type of the None singleton.
var new_body-
The type of the None singleton.
var received_by-
The type of the None singleton.
var received_representing-
The type of the None singleton.
var references-
The type of the None singleton.
var reminder_message_data-
The type of the None singleton.
var reply_to-
The type of the None singleton.
var sender-
The type of the None singleton.
var to_recipients-
The type of the None singleton.
Inherited members
Item:ELEMENT_NAMEFIELDSID_ELEMENT_CLSINSERT_AFTER_FIELDNAMESPACEadd_fieldattachattachmentsbodycategoriesconversation_idculturedatetime_createddatetime_receiveddatetime_sentderegisterdetachdisplay_ccdisplay_toeffective_rightshas_attachmentsheadersimportancein_reply_tois_associatedis_draftis_from_meis_resendis_submittedis_unmodifieditem_classlast_modified_namelast_modified_timemime_contentparent_folder_idregisterreminder_due_byreminder_is_setreminder_minutes_before_startremove_fieldresponse_objectssensitivitysizesubjectsupported_fieldstext_bodyunique_bodyvalidate_fieldweb_client_edit_form_query_stringweb_client_read_form_query_string