protected function getPartBodyFromFile(&$part)
    {
        $start = $part['starting-pos-body'];
        $end = $part['ending-pos-body'];
        $body = '';
        if ($end - $start > 0) {
            fseek($this->stream, $start, SEEK_SET);
            $body = fread($this->stream, $end - $start);
        }

        return $body;
    }
protected function getPartBodyFromFile(&$part)
    {
        $start = $part['starting-pos-body'];
        $end = $part['ending-pos-body'];
        $body = '';
        if ($end - $start > 0) {
            fseek($this->stream, $start, SEEK_SET);
            $body = fread($this->stream, $end - $start);
        }

        return $body;
    }
protected function getPartBodyFromFile ( & $ part ) { $ start = $ part [ 'starting-pos-body' ] ; $ end = $ part [ 'ending-pos-body' ] ; $ body = '' ; if ( $ end - $ start > 0 ) { fseek ( $ this -> stream , $ start , SEEK_SET ) ; $ body = fread ( $ this -> stream , $ end - $ start ) ; } return $ body ; }
Retrieve the Body from a MIME part from file

@param array $part

@return string Mime Body Part
Retrieve the Body from a MIME part from file