Explode MIME multipart string into separate parts
Parts consist of the header and the body of each MIME part.
Parameters: |
|
---|---|
Return type: | array parts with content of each part, empty if no parts found |
Throws : | ExceptionRuntimeException |
decodes a mime encoded String and returns a struct of parts with header and body
Parameters: |
|
---|---|
Return type: | array|null parts as array(‘header’ => array(name => value), ‘body’ => content), null if no parts found |
Throws : | ExceptionRuntimeException |
split a message in header and body part, if no header or an invalid header is found $headers is empty
The charset of the returned headers depend on your iconv settings.
Parameters: |
|
---|---|
Return type: | null |
split a content type in its different parts
Parameters: |
|
---|---|
Return type: | string|array wanted part or all parts as array(‘type’ => content-type, partname => value) |
split a header field like content type in its different parts
Parameters: |
|
---|---|
Return type: | string|array wanted part or all parts as array($firstName => firstPart, partname => value) |
Throws : | ExceptionRuntimeException |