diff --git a/NOCQ.sln b/NOCQ.sln index 41378d1..b10310e 100644 --- a/NOCQ.sln +++ b/NOCQ.sln @@ -21,6 +21,6 @@ Global {DF8CD7EA-76FC-4B57-B24A-52C6373A8EDF}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(MonoDevelopProperties) = preSolution - StartupItem = src\NOCQ\NOCQ.csproj + StartupItem = src\NOCQ.Application\NOCQ.Application.csproj EndGlobalSection EndGlobal diff --git a/src/NOCQ.Application/NOCQ.Application.csproj b/src/NOCQ.Application/NOCQ.Application.csproj index 0eb0ac9..f48de79 100644 --- a/src/NOCQ.Application/NOCQ.Application.csproj +++ b/src/NOCQ.Application/NOCQ.Application.csproj @@ -31,6 +31,7 @@ + diff --git a/src/NOCQ.Application/Program.cs b/src/NOCQ.Application/Program.cs index afcde55..594c4f4 100644 --- a/src/NOCQ.Application/Program.cs +++ b/src/NOCQ.Application/Program.cs @@ -6,7 +6,10 @@ namespace NOCQ.Application { public static void Main (string[] args) { - Console.WriteLine ("Hello World!"); + dynamic settings = new ExpandoObject (); + //settings. + + var email = new NOCQ.Plugins.Email.ImapInput( } } } diff --git a/src/NOCQ/Plugins/Email/ImapInput.cs b/src/NOCQ/Plugins/Email/ImapInput.cs index 9762bce..9812dce 100644 --- a/src/NOCQ/Plugins/Email/ImapInput.cs +++ b/src/NOCQ/Plugins/Email/ImapInput.cs @@ -44,7 +44,7 @@ namespace NOCQ.Plugins.Email using(var imap = new ImapClient(server, loginName, password, ImapClient.AuthMethods.Login, port, ssl)) { var msgs = imap.SearchMessages( SearchCondition.Undeleted().And( - SearchCondition.SentSince(new DateTime(2000, 1, 1)) + SearchCondition.SentSince(new DateTime(2014, 5, 7)) )); foreach (var msg in msgs)