popstat $pop->popstat() Returns a list with two elements: the number of undeleted elements and the size of the mailbox.