Beispiel #1
0
        static void Main(string[] args)
        {
            string password = EnterPassword("*****@*****.**");

            //NotifyTest(args);
            //RemoveFolder(ExchangeServiceFactory.CreateByWebCredential("*****@*****.**", password), "テストフォルダー");
            //UploadEmail(ExchangeServiceFactory.CreateByWebCredential("*****@*****.**", password));
            //ShowItems(ExchangeServiceFactory.CreateByWebCredential("*****@*****.**", password));
            //CreateContact(ExchangeServiceFactory.CreateByWebCredential("*****@*****.**", password));
            ShowContacts(ExchangeServiceFactory.CreateByWebCredential("*****@*****.**", password));
        }
Beispiel #2
0
 public User(string id, string password, string watermark)
 {
     Id           = id;
     Service      = ExchangeServiceFactory.CreateByNetworkCredential(id, password);
     Subscription = PullSubscriptionFactory.Create(Service, watermark);
 }