public function login($user, $password)
    {
        return $this->requestAndResponse('LOGIN', $this->escapeString($user, $password), true);
    }
public function login($user, $password)
    {
        return $this->requestAndResponse('LOGIN', $this->escapeString($user, $password), true);
    }
public function login ( $ user , $ password ) { return $ this -> requestAndResponse ( 'LOGIN' , $ this -> escapeString ( $ user , $ password ) , true ) ; }
Login to IMAP server.

@param  string $user      username
@param  string $password  password
@return bool success
@throws Zend_Mail_Protocol_Exception
Login to IMAP server .