MapiAttachment

MapiAttachment

概要

MapiAttachment は Aspose.Email の FOSS における Python 用のクラスです。

可変アタッチメントオブジェクト。

このクラスは、Python プログラム内で MapiAttachment オブジェクトを操作するためのメソッドを3つ提供します。利用可能なメソッドは from_bytes、from_embedded_message、set_property です。Aspose.Email の Python 用 FOSS パッケージをインストールすれば、すべてのパブリックメンバーは任意の 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

参照

 日本語