method sortFolder documentation in bbn\Appui\Mailbox

Sorts the mailbox. (Test: ok)

Criteria can be one (and only one) of the following: SORTDATE - message Date SORTARRIVAL - arrival date SORTFROM - mailbox in first From address SORTSUBJECT - message subject SORTTO - mailbox in first To address SORTCC - mailbox in first cc address SORTSIZE - size of message in octets

function($criteria, $reverse = 0) { if ($this->_is_connected() && !empty($criteria)) { return imap_sort($this->stream, constant(strtoupper($criteria)), $reverse, SE_NOPREFETCH); } return false; }

Sorts the mailbox. (Test: ok) BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.