protected function getPartFromText(&$part)
    {
        $start = $part['starting-pos'];
        $end = $part['ending-pos'];

        return substr($this->data, $start, $end - $start);
    }
protected function getPartFromText(&$part)
    {
        $start = $part['starting-pos'];
        $end = $part['ending-pos'];

        return substr($this->data, $start, $end - $start);
    }
protected function getPartFromText ( & $ part ) { $ start = $ part [ 'starting-pos' ] ; $ end = $ part [ 'ending-pos' ] ; return substr ( $ this -> data , $ start , $ end - $ start ) ; }
Retrieve the content from a MIME part from text

@param array $part

@return string Mime Content
Retrieve the content from a MIME part from text