In case of proxy server, you can specify the proxy server as shown in the following sample code. Please verify the Exchange Server URL from your network administrator for accessing it via the API and feel free to contact us if we can be of any additional help to you in this regard.
Aspose.Email mail clients work fine if network credentials are initialized properly. We are glad to know that your issue is resolved. For your reference following is the alternate VB .NET version of the above mentioned sample code:
Const mailboxUri As String = "https://exchange.domain.com/ews/Exchange.asmx"
Const domain As String = ""
Const username As String = "username"
Const password As String = "password"
Dim credential As New NetworkCredential(username, password, domain)
Dim client As IEWSClient = EWSClient.GetEWSClient(mailboxUri, credential)
Dim prox As New WebProxy(“10.0.0.1”, 8080)
prox.Credentials = New NetworkCredential(“ProxyUsername”, “ProxyPassword”, “ProxyDomain”)
prox.BypassProxyOnLocal = True
client.Proxy = prox
Please feel free to write us back if you have any other query related to Aspose.Email.