decodeQuotedPrintable()
splitContentType()
splitHeaderField()
splitMessage()
splitMessageStruct()
splitMime()
decodeQuotedPrintable(string $string) : string
The charset of the returned string depends on your iconv settings.
string
encoded string
string
decoded stringsplitContentType(string $type, string $wantedPart) : string | array
string
content-type
string
the wanted part, else an array with all parts is returned
string
array
wanted part or all parts as array('type' => content-type, partname => value)splitHeaderField(string $field, string $wantedPart, string $firstName) : string | array
string
header field
string
the wanted part, else an array with all parts is returned
string
key name for the first part
\Zend\Mime\Exception\RuntimeException |
---|
string
array
wanted 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.
string
output param, content of message
string
EOL string; defaults to {@link Zend\Mime\Mime::LINEEND}
bool
enable strict mode for parsing message
null
splitMessageStruct(string $message, string $boundary, string $EOL) : array | null
string
raw message content
string
boundary as found in content-type
string
EOL string; defaults to {@link Zend\Mime\Mime::LINEEND}
\Zend\Mime\Exception\RuntimeException |
---|
array
null
parts 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.
string
raw body of message
string
boundary as found in content-type
\Zend\Mime\Exception\RuntimeException |
---|
array
parts with content of each part, empty if no parts found