构造函数可以被添加附件。
__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)