I am working on mail client so once i start downloading my mail it will appear as a randomly so i am confus.
so i want to know which is the default mode of sorting means ascending or descending.
Thanks…!!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re using IMAP to fetch the mail from the remote server, the mail will be ordered by ascending IMAP UID. By default, the higher the number, the more recently it was added to the folder:
However, that doesn’t mean that messages are downloaded in ascending date order via IMAP. If you move a message from one folder to another, it gets a new UID and is moved to last place in the new folder. And if the IMAP UID Validity Value is reset, all bets are off — the messages could be renumbered in any order whatsoever.