help centre
For more info visit

How can we help?

Search our knowledge base for answers to
common questions and latest updates.

My activities New request


How to change the default sort behavior

Stewart -

I want to change the default Atmail sort behavior.


  • On-Premise Server + WebMail Installations: Version 6.0 > Current Version
  • Webmail Only Installations: Version 6.0 > Current Version


By default Atmail 6 and 7 sorts all emails on the UID (received date) of the message to the server.

Some clients prefer to sort emails from the "date" header specified in the email, vs the received time to the mailbox.


  1. Open and edit:
  2. Change:
                    if( !isset($this->session->sort) )
    $this->session->sort = 'UID';
  3. To:
                    if( !isset($this->session->sort) )
    $this->session->sort = 'Date';
  4. You can also specify the default sort behavior to Subject, From. And remember, you can change the sort order anytime via the 2-pane UI, click the message headers to sort.
Have more questions? Submit a request


Contact our support team

+61 (7) 5357 6605