Order IMAP mail and Executeserch samples

Dec 18, 2016 at 11:05 PM
Edited Dec 18, 2016 at 11:11 PM
Hello,

Is it possible for you to provide "GetMessages.OrderBy(Of Tkey)" and "Execute Search" samples ?

Id like to Get mail with ascending date (older to recent) and then select unread only. Then loop through collection.

Thanks, and sorry for the hustle.
  • Mike.
EDIT: okay found these for "ExecuteSearch"
https://tools.ietf.org/html/rfc3501#page-50
http://php.net/manual/en/function.imap-search.php

Any help with "GetMessages.OrderBy(Of Tkey)" ?

Thanks.