POP3::is_ok() WordPress Method
The POP3::is_ok() function checks whether the current POP3 connection is still valid. If the connection has been lost, it tries to reconnect.
POP3::is_ok( $cmd = "" ) #
Source
File: wp-includes/class-pop3.php
function is_ok ($cmd = "") { // Return true or false on +OK or -ERR if( empty($cmd) ) return false; else return( stripos($cmd, '+OK') !== false ); }
Expand full source codeCollapse full source codeView on TracView on GitHub