string Domain = System.Net.NetworkInformation.IPGlobalProperties.GetIPGlobalProperties().DomainName; string Host = System.Net.Dns.GetHostName(); service = new ExchangeService(ExchangeVersion.Exchange2010_SP1); WebProxy proxy = new WebProxy("112.33.22.44", "1234"); proxy.Credentials = new NetworkCredential("user1", "karma123", "mango.com"); service.WebProxy = proxy; service.EnableScpLookup = true; service.Credentials = new WebCredentials("user1@mango.com", "karma123", "mango.com"); try { service.Url = new Uri("https://YY048199.mango.com/EWS/Exchange.asmx"); } catch (UriFormatException ex) { return false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)