POP3::popstat()publicWP 1.0

Method of the class: POP3{}

No Hooks.

Return

null. Nothing (null).

Usage

$POP3 = new POP3();
$POP3->popstat ();

POP3::popstat() code WP 6.5.2

function popstat () {
    //  Returns an array of 2 elements. The number of undeleted
    //  msgs in the mailbox, and the size of the mbox in octets.

    $PopArray = $this->last("array");

    if($PopArray == -1) { return false; }

    if( (!$PopArray) or (empty($PopArray)) )
    {
        return false;
    }
    return $PopArray;
}