apop example

$this->quit();
                return false;
            } else {
                // Auth successful.                 $count = $this->last("count");
                $this->COUNT = $count;
                return $count;
            }
        }
    }

    function apop ($login,$pass) {
        // Attempts an APOP login. If this fails, it'll         // try a standard login. YOUR SERVER MUST SUPPORT         // THE USE OF THE APOP COMMAND!         // (apop is optional per rfc1939)
        if(!isset($this->FP)) {
            $this->ERROR = "POP3 apop: " . _("No connection to server");
            return false;
        } elseif(!$this->ALLOWAPOP) {
            $retVal = $this->login($login,$pass);
            return $retVal;
        }
Home | Imprint | This part of the site doesn't use cookies.