/** * Retrieves a bodypart for the given message ID and mime part ID. * * @param string $folder The folder to fetch the messages from. * @param array $uid The message UID. * @param array $id The mime part ID. * * @return resource The body part, as a stream resource. */ public function fetchBodypart($folder, $uid, $id) { return $this->_driver->fetchBodypart($folder, $uid, $id); }
/** * Retrieves the body part for the given UID and mime part ID. * * @param string $uid The message UID. * @param string $id The mime part ID. * * @return resource The message part as stream resource. */ public function fetchPart($uid, $id) { return $this->_driver->fetchBodypart($this->_folder->getPath(), $uid, $id); }