    POP3 :: mixed pstat ( resource connection )

    Return ARRAY if has been successfully received, FALSE if not.

    Send "STAT" POP3 command. Get the drop listing.

    Notice: the ARRAY result contain only integer values.
    integer messages => integer total bytes.

    Example:

    // connect to 'pop.hostname.tld'
    $c = POP3::Connect('pop.hostname.tld', 'username', 'password') or die(print_r($_RESULT));

    // get the mail box status of this POP3 account
    $s = POP3::pStat($c) or die(print_r($_RESULT));

    // disconnect from server
    POP3::Disconnect($c);

    // print result
    print_r($s);

    See Also: POP3::pList()

    [ Comments ]

    Last update: Thursday, June 28, 2007