この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

InboundEmail.BinaryAttachment クラス

InboundEmail オブジェクトは、InboundEmail.BinaryAttachment オブジェクトにバイナリ添付ファイルを格納します。

名前空間

Messaging

使用方法

バイナリ添付ファイルの例としては、画像、音声、アプリケーション、映像ファイルなどがあります。

InboundEmail.BinaryAttachment コンストラクタ

InboundEmail.BinaryAttachment のコンストラクタは次のとおりです。

InboundEmail.BinaryAttachment()

Messaging.InboundEmail.BinaryAttachment クラスの新しいインスタンスを作成します。

署名

public InboundEmail.BinaryAttachment()

InboundEmail.BinaryAttachment プロパティ

InboundEmail.BinaryAttachment のプロパティは次のとおりです。

body

添付ファイルの本文。

署名

public Blob body {get; set;}

プロパティ値

型: Blob

fileName

添付ファイルの名前。

署名

public String fileName {get; set;}

プロパティ値

型: String

headers

添付ファイルに関連付けられたヘッダー値。ヘッダー名の例には、Content-TypeContent-Transfer-EncodingContent-ID などがあります。

署名

public List<Messaging.InboundEmail.Header> headers {get; set;}

プロパティ値

型: List<Messaging.InboundEmail.Header>

mimeTypeSubType

プライマリおよびサブ MIME タイプ。

署名

public String mimeTypeSubType {get; set;}

プロパティ値

型: String