Sort emails on IMAPS server
Xianwen Chen (้่ดคๆ) <[email protected]> Wed, 09 Dec 2020 21:42:43 +0000
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <[email protected]> |
Dear list,
I'm hoping to sort emails on IMAP server before fetching them.
In Python 2, I know that the following code would do sorting, letting
the latest emails come out first:
status, [MsgLst] = M.sort('REVERSE DATE', 'US-ASCII', 'ALL')
Here M is the connection to the IMAP server.
I wonder if there is such an option in getmail.
I tried to look for it, but couldn't find it.
If this option is not in getmail, may I request this feature to be
considered?
Thank you!
Yours sincerely,
Xianwen