No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
EmailFileAttachment クラス
EmailFileAttachment は、Salesforce の既存のドキュメントとは異なり、SingleEmailMessage 内で要求の一部として渡される添付ファイルを指定するのに使用します。
名前空間
EmailFileAttachment メソッド
EmailFileAttachment のメソッドは次のとおりです。すべてインスタンスメソッドです。
setContentType(String)
添付ファイルのコンテンツタイプを設定します。
署名
public Void setContentType(String content_type)
パラメータ
- content_type
- 型: String
戻り値
型: Void
setFileName(String)
添付するファイルの名前を設定します。
署名
public Void setFileName(String file_name)
パラメータ
- file_name
- 型: String
戻り値
型: Void
setInline(Boolean)
Content-Dispositions がインラインか (true) 添付ファイルか (false) を示します。
署名
public Void setInline(Boolean Content-Disposition)
パラメータ
- Content-Disposition
- 型: Boolean
戻り値
型: Void
使用方法
多くの場合、インラインコンテンツは、メッセージ表示時にユーザに表示されます。添付ファイルコンテンツは、ユーザのアクションに基づいて表示されます。