Zend_Mail_Protocol_Pop3 example

/** * @see Zend_Mail_Storage_Exception */
            throw new Zend_Mail_Storage_Exception('need at least user in params');
        }

        $host     = isset($params->host)     ? $params->host     : 'localhost';
        $password = isset($params->password) ? $params->password : '';
        $port     = isset($params->port)     ? $params->port     : null;
        $ssl      = isset($params->ssl)      ? $params->ssl      : false;

        $this->_protocol = new Zend_Mail_Protocol_Pop3();
        $this->_protocol->connect($host$port$ssl);
        $this->_protocol->login($params->user, $password);
    }

    /** * Close resource for mail lib. If you need to control, when the resource * is closed. Otherwise the destructor would call this. * * @return null */
    public function close()
    {
Home | Imprint | This part of the site doesn't use cookies.