extract_msg.msg_classes.meeting_response Module

Module contents

class extract_msg.msg_classes.meeting_response.MeetingResponse(path, **kwargs)[source]

Bases: MeetingRelated

Class for handling meeting response objects.

Supports all of the options from MSGFile.__init__() with some additional ones.

Parameters:
  • recipientSeparator – Optional, separator string to use between recipients.

  • deencapsulationFunc – Optional, if specified must be a callable that will override the way that HTML/text is deencapsulated from the RTF body. This function must take exactly 2 arguments, the first being the RTF body from the message and the second being an instance of the enum DeencapType that will tell the function what type of body is desired. The function should return a string for plain text and bytes for HTML. If any problems occur, the function must either return None or raise one of the appropriate exceptions from extract_msg.exceptions. All other exceptions must be handled internally or they will not be caught. The original deencapsulation method will not run if this is set.

property appointmentCounterProposal: bool

Indicates if the response is a counter proposal.

property appointmentProposedDuration: int | None

The proposed value for the appointmentDuration property for a counter proposal.

property appointmentProposedEndWhole: datetime | None

The proposal value for the appointmentEndWhole property for a counter proposal.

property appointmentProposedStartWhole: datetime | None

The proposal value for the appointmentStartWhole property for a counter proposal.

property isSilent: bool

Indicates if the user did not include any text in the body of the Meeting Response object.

property promptSendUpdate: bool

Indicates that the Meeting Response object was out-of-date when it was received.

property responseType: ResponseType

The type of Meeting Response object.

filename: str | None