+1 vote

SORT is not supported by remote server. How to apply sort?

by

1 Answer

0 votes
 
Best answer

If SORT extension isn't supported by your server there is not much you can do.

The only option is to use Mail.dll .NET IMAP client to download results and sort emails locally - use Linq or similar solution.

Consider using Imap.GetMessageInfoByUID or even Imap.GetEnvelopeByUID (if you are not interested in attachmets):
https://www.limilabs.com/blog/get-email-information-from-imap-fast

by (297k points)
selected by
...