decodeQuotedPrintable()
splitContentType()
splitHeaderField()
splitMessage()
splitMessageStruct()
splitMime()
decodeQuotedPrintable(string $string) : string
The charset of the returned string depends on your iconv settings.
stringencoded string
stringdecoded stringsplitContentType(string $type, string $wantedPart) : string | array
stringcontent-type
stringthe wanted part, else an array with all parts is returned
stringarraywanted part or all parts as array('type' => content-type, partname => value)splitHeaderField(string $field, string $wantedPart, string $firstName) : string | array
stringheader field
stringthe wanted part, else an array with all parts is returned
stringkey name for the first part
\Zend\Mime\Exception\RuntimeException |
|---|
stringarraywanted part or all parts as array($firstName => firstPart, partname => value)splitMessage(string | \Zend\Mail\Headers $message, \Zend\Mail\Headers $headers, string $body, string $EOL, bool $strict) : null
The charset of the returned headers depend on your iconv settings.
stringoutput param, content of message
stringEOL string; defaults to {@link Zend\Mime\Mime::LINEEND}
boolenable strict mode for parsing message
nullsplitMessageStruct(string $message, string $boundary, string $EOL) : array | null
stringraw message content
stringboundary as found in content-type
stringEOL string; defaults to {@link Zend\Mime\Mime::LINEEND}
\Zend\Mime\Exception\RuntimeException |
|---|
arraynullparts as array('header' => array(name => value), 'body' => content), null if no parts foundsplitMime(string $body, string $boundary) : array
Parts consist of the header and the body of each MIME part.
stringraw body of message
stringboundary as found in content-type
\Zend\Mime\Exception\RuntimeException |
|---|
arrayparts with content of each part, empty if no parts found