コンストラクタは、添付ファイルを追加できるようになります。
__construct ( string $filename , [ string $fileType = null ], [ string $data = null ]) RocksEmailAttachmentField __construct( 文字列 $ファイル名 、[ 文字列 $ファイルタイプ = 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 $)