POP3::is_ok( $cmd = "" )

In this article

Source

function is_ok ($cmd = "") {
    //  Return true or false on +OK or -ERR

    if( empty($cmd) )
        return false;
    else
        return( stripos($cmd, '+OK') !== false );
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.