+1 vote

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


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):

by (295k points)
selected by