public function setBodyPart($id, $text, $decode = null)
    {
        $this->_data[Horde_Imap_Client::FETCH_BODYPART][$id] = array(
            'd' => $decode,
            't' => $this->_setMixed($text)
        );
    }
public function setBodyPart($id, $text, $decode = null)
    {
        $this->_data[Horde_Imap_Client::FETCH_BODYPART][$id] = array(
            'd' => $decode,
            't' => $this->_setMixed($text)
        );
    }
public function setBodyPart ( $ id , $ text , $ decode = null ) { $ this -> _data [ Horde_Imap_Client :: FETCH_BODYPART ] [ $ id ] = array ( 'd' => $ decode , 't' => $ this -> _setMixed ( $ text ) ) ; }
Set a body part entry.

@param string $id      The MIME ID.
@param mixed $text     The body part text, as either a string or stream
resource.
@param string $decode  Either '8bit', 'binary', or null.
Set a body part entry .