This project is read-only.

Get Messages from Specific Period

Jan 15, 2013 at 7:21 PM

Hello!  This is a great tool so far however I'm not sure as to how I can only search RECENT or within a specific time using HigLabo IMAP for Gmail.

Thank you

Jan 15, 2013 at 11:22 PM

Hi.
You can search by using ExecuteSearch method of ImapClient.
Like this.
------------------------------------------------------------------------------------------
var cl = new ImapClient("...");
var result = cl.ExecuteSearch(
"(UNDELETED FROM test@test.com)");
-----------------------------------------------------------------
Above search method will get message that is not deleted and from test@test.com.

HigLabo provide only a functionality that send search command to server.
You must create your own query which get message from server.
I don't know about the detail of search query of IMAP but you can search about it by google or stackoverflow.

regards.