MapiAttachment

개요

MapiAttachment은 Aspose.Email FOSS for Python에 있는 클래스입니다.

가변 첨부 객체.

이 클래스는 Python 프로그램에서 MapiAttachment 객체를 다루기 위한 3개의 메서드를 제공합니다. 사용 가능한 메서드에는 from_bytes, from_embedded_message, set_property가 포함됩니다. 모든 public 멤버는 Aspose.Email FOSS for Python 패키지를 설치한 후 any Python 애플리케이션에서 접근할 수 있습니다. 속성: attach_method, content_id, custom_storage, data, embedded_message, embedded_storage_name, 그리고 9개 더.

속성

이름유형액세스설명
storage_name`strNone`읽기
is_embedded_messagebool읽기임베드된 메시지를 가져옵니다.
is_storage_attachmentbool읽기스토리지 첨부 파일인지 여부를 가져옵니다.
embedded_storage_name`strNone`읽기
filename`strNone`읽기/쓰기
databytes읽기/쓰기데이터를 가져오거나 설정합니다.
mime_type`strNone`읽기/쓰기
content_id`strNone`읽기/쓰기
attach_methodint읽기/쓰기첨부 방법을 가져오거나 설정합니다.
storage_id`intNone`읽기/쓰기
embedded_message`“MapiMessageNone”`읽기/쓰기
custom_storage`MsgStorageNone`읽기/쓰기
propertiesMapiPropertyCollection읽기/쓰기속성을 가져오거나 설정합니다.
extra_streamslist[MsgStream]읽기/쓰기추가 스트림을 가져오거나 설정합니다.
header_reserved_0bytes읽기/쓰기헤더 예약 0을 가져오거나 설정합니다.

메서드

시그니처설명
`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

참조

 한국어