empty commit message
This commit is contained in:
2
NOCQ.sln
2
NOCQ.sln
@@ -21,6 +21,6 @@ Global
|
|||||||
{DF8CD7EA-76FC-4B57-B24A-52C6373A8EDF}.Release|Any CPU.Build.0 = Release|Any CPU
|
{DF8CD7EA-76FC-4B57-B24A-52C6373A8EDF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(MonoDevelopProperties) = preSolution
|
GlobalSection(MonoDevelopProperties) = preSolution
|
||||||
StartupItem = src\NOCQ\NOCQ.csproj
|
StartupItem = src\NOCQ.Application\NOCQ.Application.csproj
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
|
|||||||
@@ -6,7 +6,10 @@ namespace NOCQ.Application
|
|||||||
{
|
{
|
||||||
public static void Main (string[] args)
|
public static void Main (string[] args)
|
||||||
{
|
{
|
||||||
Console.WriteLine ("Hello World!");
|
dynamic settings = new ExpandoObject ();
|
||||||
|
//settings.
|
||||||
|
|
||||||
|
var email = new NOCQ.Plugins.Email.ImapInput(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ namespace NOCQ.Plugins.Email
|
|||||||
using(var imap = new ImapClient(server, loginName, password, ImapClient.AuthMethods.Login, port, ssl)) {
|
using(var imap = new ImapClient(server, loginName, password, ImapClient.AuthMethods.Login, port, ssl)) {
|
||||||
var msgs = imap.SearchMessages(
|
var msgs = imap.SearchMessages(
|
||||||
SearchCondition.Undeleted().And(
|
SearchCondition.Undeleted().And(
|
||||||
SearchCondition.SentSince(new DateTime(2000, 1, 1))
|
SearchCondition.SentSince(new DateTime(2014, 5, 7))
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach (var msg in msgs)
|
foreach (var msg in msgs)
|
||||||
|
|||||||
Reference in New Issue
Block a user