diff --git a/index.php b/index.php index 58fa628..3a89cd6 100644 --- a/index.php +++ b/index.php @@ -68,7 +68,7 @@ if ($emails) $data = new stdClass(); $data->title = DECODE_SPECIAL_CHARACTERS ? mb_decode_mimeheader($overview->subject) : $overview->subject; $data->type = "plain"; - $data->order = 1; + $data->order = -time(); if(count($attachments)) { $data->attachments = $attNames; $description = DECODE_SPECIAL_CHARACTERS ? quoted_printable_decode($inbox->fetchMessageBody($emails[$j], 1.1)) : $inbox->fetchMessageBody($emails[$j], 1.1);