none
The Autodiscover service couldn't be located. RRS feed

  • 问题

  • The Autodiscover service couldn't be located.

     ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;
        
          // 实例化ExchageService
          service = new ExchangeService(ExchangeVersion.Exchange2010)
            {
              Credentials = new WebCredentials(username, pwd), // 指定用户名,密码,和域名
              TraceEnabled = true,
              TraceFlags = TraceFlags.All
            };
          // 指定邮箱账号
          service.AutodiscoverUrl(username, RedirectionUrlValidationCallback);

    2013年10月25日 2:43

全部回复