POP3::is_ok()
The following methods are internal to the class.
Method of the class: POP3{}
No Hooks.
Return
null
. Nothing (null).
Usage
$POP3 = new POP3(); $POP3->is_ok ( $cmd );
- $cmd **
- -
Default: ""
POP3::is_ok() POP3::is ok code WP 6.5.2
function is_ok ($cmd = "") { // Return true or false on +OK or -ERR if( empty($cmd) ) return false; else return( stripos($cmd, '+OK') !== false ); }