public MailStoreProviderHTTP(string userName, string password)
     : base(userName, password)
 {
     var user = HttpUtil.GetItemAsync<User>(string.Empty).Result;
     DisplayName = user.Id;
     RootFolder = new MailFolderProviderHTTP(null, DisplayName);
 }
        public MailStoreProviderHTTP(string userName, string password)
        {
            AuthenticationHelperHTTP.Initialize(userName, password);

            var user = HttpUtilSync.GetItem<User>(string.Empty);
            DisplayName = user.Id;
            RootFolder = new MailFolderProviderHTTP(null, DisplayName);
        }
Exemple #3
0
        public MailStoreProviderHTTP(string userName, string password)
        {
            AuthenticationHelperHTTP.Initialize(userName, password);

            var user = HttpUtilSync.GetItem <User>(string.Empty);

            DisplayName = user.Id;
            RootFolder  = new MailFolderProviderHTTP(null, DisplayName);
        }