構造函數可以被添加附件。
__construct ( string $filename , [ string $fileType = null ], [ string $data = null ]) RocksEmailAttachmentField __構造 ( 字符串 $文件名 ,[ 字符串 $文件類型 = 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)