MapiAttachment

General

MapiAttachment és una classe en Aspose.Email per a Python.

Object de fixació mutable.

Propietats

NameTypeAccessDescription
storage_name`strNone`Read
is_embedded_messageboolReadIndicates whether the attachment is an embedded message
is_storage_attachmentboolReadFlags if the attachment is stored as a separate storage
embedded_storage_name`strNone`Read
filename`strNone`Read
databytesReadContains the raw byte content of the attachment
mime_type`strNone`Read
content_id`strNone`Read
attach_methodintReadIs an integer representing the attachment method per MAPI spec
storage_id`intNone`Read
embedded_message`“MapiMessageNone”`Read
custom_storage`MsgStorageNone`Read
propertiesMapiPropertyCollectionReadIs a collection of MapiProperty objects associated with the attachment
extra_streamslist[MsgStream]ReadLists additional MsgStream objects attached to the message
header_reserved_0bytesReadContains reserved header bytes for internal use

Mètodes

SignatureDescription
`from_bytes(filename: str, data: bytes, mime_type: strNone, content_id: str
`from_embedded_message(message: “MapiMessage”, filename: strNone, mime_type: str
`set_property(property_id: intCommonMessagePropertyId
 Català