Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Init();

            Task.Factory.RunSync(() => Mailbox.Watch("crm-app-geeks-ltd"));


            while (true)
            {
                System.Threading.Thread.Sleep(1000);
                Console.WriteLine("Downloading ...");
                Task.Factory.RunSync(() => Mailbox.FetchAll());
            }
        }