(self)
return (numMessages, sizeMessages)
Get mailbox status.

        Result is tuple of 2 ints (message count, mailbox size)
Get mailbox status.
Get mailbox status .
def stat(self):
        """Get mailbox status.

        Result is tuple of 2 ints (message count, mailbox size)
        """
        retval = self._shortcmd('STAT')
        rets = retval.split()
        if self._debugging: print('*stat*', repr(rets))
        numMessages = int(rets[1])
        sizeMessages = int(rets[2])
        return (numMessages, sizeMessages)
def stat ( self ) : retval = self . _shortcmd ( 'STAT' ) rets = retval . split ( ) if self . _debugging : print ( '*stat*' , repr ( rets ) ) numMessages = int ( rets [ 1 ] ) sizeMessages = int ( rets [ 2 ] ) return ( numMessages , sizeMessages )