diff --git a/NOCQ.userprefs b/NOCQ.userprefs index f305c2c..0cde9f1 100644 --- a/NOCQ.userprefs +++ b/NOCQ.userprefs @@ -2,14 +2,22 @@ - - + + - - + + + + + + + + + + diff --git a/src/NOCQ.Application/NOCQ.Application.csproj b/src/NOCQ.Application/NOCQ.Application.csproj index 9a009b0..0eb0ac9 100644 --- a/src/NOCQ.Application/NOCQ.Application.csproj +++ b/src/NOCQ.Application/NOCQ.Application.csproj @@ -9,6 +9,7 @@ Exe NOCQ.Application NOCQ.Application + v4.5 true @@ -36,4 +37,10 @@ + + + {83651B7D-B58F-46B8-BFE2-BCC0A6C92C7A} + NOCQ + + \ No newline at end of file diff --git a/src/NOCQ/Plugins/Email/ImapInput.cs b/src/NOCQ/Plugins/Email/ImapInput.cs index ea81f1a..9762bce 100644 --- a/src/NOCQ/Plugins/Email/ImapInput.cs +++ b/src/NOCQ/Plugins/Email/ImapInput.cs @@ -36,7 +36,7 @@ namespace NOCQ.Plugins.Email folderPath = sets.Folder; timer = new Timer (sets.Frequency); - timer.Elapsed += (sender,args) => Execute (sender, args); + timer.Elapsed += Execute; } public void Execute(object sender, ElapsedEventArgs args) @@ -51,8 +51,7 @@ namespace NOCQ.Plugins.Email { var realMsg = msg.Value; - var from = realMsg.From; - var body = realMsg.Body; + Console.WriteLine ("FROM:" + realMsg.From); } } @@ -60,11 +59,13 @@ namespace NOCQ.Plugins.Email public void Run() { + Console.WriteLine ("Start"); timer.Start (); } public void Stop() { + Console.WriteLine ("Stop"); timer.Stop (); } }