extract_msg.msg_classes.message_signed_base Module
Module contents
- class extract_msg.msg_classes.message_signed_base.MessageSignedBase(path, signedAttachmentClass: ~typing.Type[~extract_msg.msg_classes.message_signed_base._T] = <class 'extract_msg.attachments.signed_att.SignedAttachment'>, **kwargs)[source]
Bases:
MessageBase
,Generic
[_T
]Base class for Message-like MSG files that are signed.
Supports all of the options from
MessageBase.__init__()
with some additional ones.- Parameters:
signedAttachmentClass – optional, the class the object will use for signed attachments.
- property attachments: List[_T]
A list of all attachments.
- Raises:
StandardViolationError – The standard for signed messages was blatantly violated.
- property body: str | None
The message body, if it exists.
- property htmlBody: bytes | None
The html body, if it exists.
- property rawAttachments: List[AttachmentBase]
A property to allow access to the non-signed attachments.
- property signedAttachmentClass: Type[_T]
The attachment class used for signed attachments.
- property signedBody: str | None
The body from the signed message if it exists.
- property signedHtmlBody: bytes | None
The HTML body from the signed message if it exists.
- filename: str | None