POP3::popstat() WordPress Method
The POP3::popstat() method can be used to get the number of messages and total size of a mailbox on a remote server.
POP3::popstat() #
Source
File: wp-includes/class-pop3.php
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; }
Expand full source codeCollapse full source codeView on TracView on GitHub