Конструктор позволяет вложений, которые будут добавлены.
__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 Строка $ Filetype: тип файла вложения
- $data : of the attachment this is not needed as it can be retrieved from the filename. Строка $ данных: вложения это не нужна, поскольку она может быть извлечен из файла.
CreateHeader ( недействительным CreateHeader ( ) $ Semi_rand)