Свойство | Тип | Описание | |
---|---|---|---|
$fileClass | string | Change this to your own file class with:
$parser = new ezcMailParser();
$parser->options->fileClass = 'myCustomFileClass';
call $parser->parseMail( $set );
where myCustomFileClass extends ezcMailFile. |
Метод | Описание | |
---|---|---|
__construct ( string $mainType, string $subType, ezcMailHeadersHolder $headers ) | Constructs a new ezcMailFileParser with maintype $mainType subtype $subType and headers $headers. | |
__destruct ( ) | Destructs the parser object. | |
finish ( ) : ezcMailFile | Return the result of the parsed file part. | |
parseBody ( string $line ) | Parse the body of a message line by line. |
Метод | Описание | |
---|---|---|
appendStreamFilters ( string $line ) | Sets the correct stream filters for the attachment. | |
openFile ( string $fileName ) : resource | Returns the filepointer of the opened file $fileName in a unique directory. |
public __construct ( string $mainType, string $subType, ezcMailHeadersHolder $headers ) | ||
$mainType | string | |
$subType | string | |
$headers | ezcMailHeadersHolder |
public finish ( ) : ezcMailFile | ||
Результат | ezcMailFile |
$parser = new ezcMailParser();
$parser->options->fileClass = 'myCustomFileClass';
call $parser->parseMail( $set );
where myCustomFileClass extends ezcMailFile. public static string $fileClass | ||
Результат | string |