CloseMailbox Method
Removes all messages marked with 'Deleted' flag from the currently selected mailbox and unselect mailbox.
Object Oriented Interface
public function doCloseMailbox();
Procedural Interface
ipworks_imap_do_closemailbox($res);
Remarks
This method permanently removes all messages that have the 'Deleted' flag set from the current (selected) mailbox, and then closes (deselect) the mailbox.