コンストラクタは、添付ファイルを追加することができます。
__construct ( string $filename , [ string $fileType = null ], [ string $data = null ]) RocksEmailAttachmentField __コンストラクト ( 文字列 $ファイル名 、[ 文字列 $ fileTypeを = NULL]、[ 文字列 $データ = NULL])
- $filename : the filename of the attachment 文字列 $ファイル名 :添付ファイルの名前
- $fileType : the file type of the attachment 文字列 $ファイルタイプ :添付ファイルのファイルタイプ
- $data : of the attachment this is not needed as it can be retrieved from the filename. 文字列 $データ :それはファイル名から取得することができるように添付ファイルで、これは必要ありません。
CreateHeader ( ボイド CreateHeader( ) $ semi_rand)