생성자는 첨부 파일이 추가될 수 있습니다.
__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)