Zend\Mime\Decode::splitMime
Explode MIME multipart string into separate parts
Parts consist of the header and the body of each MIME part.
Signature
public function splitMime(string
$body,
string
$boundary )
Parameters
$body
— string- raw body of message
$boundary
— string- boundary as found in content-type
Returns
- array
- parts with content of each part, empty if no parts found
Errors/Exceptions
Line | Task |
---|---|
29 | we're ignoring \r for now - is this function fast enough and is it safe to assume noone needs \r? |