protected function _getPos($id)
    {
        if (!isset($this->_positions[$id - 1])) {
            /**
             * @see Zend_Mail_Storage_Exception
             */
            // require_once 'Zend/Mail/Storage/Exception.php';
            throw new Zend_Mail_Storage_Exception('id does not exist');
        }

        return $this->_positions[$id - 1];
    }
protected function _getPos($id)
    {
        if (!isset($this->_positions[$id - 1])) {
            /**
             * @see Zend_Mail_Storage_Exception
             */
            // require_once 'Zend/Mail/Storage/Exception.php';
            throw new Zend_Mail_Storage_Exception('id does not exist');
        }

        return $this->_positions[$id - 1];
    }
protected function _getPos ( $ id ) { if ( ! isset ( $ this -> _positions [ $ id - 1 ] ) ) { /**
             * @see Zend_Mail_Storage_Exception
             */ // require_once 'Zend/Mail/Storage/Exception.php'; throw new Zend_Mail_Storage_Exception ( 'id does not exist' ) ; } return $ this -> _positions [ $ id - 1 ] ; }
Get positions for mail message or throw exeption if id is invalid

@param int $id number of message
@return array positions as in _positions
@throws Zend_Mail_Storage_Exception
Get positions for mail message or throw exeption if id is invalid