I am new to using Aspose.Email. I am trying to connect to my Exchange 2013 mailbox using the following:
Dim client As ExchangeClient = New ExchangeClient(“[http://servername/exchange/gbrowning”](http://servername/exchange/gbrowning%E2%80%9D), _ “gbrowning”, “password”, “domain”)
Console.WriteLine(“Mailbox size: " & client.GetMailboxSize() & " bytes”)
But I receive the following error message:
The remote server returned an error: (403) Forbidden.
Is there a setting on Exchange that I need to change/turn on for this to work? What is the best way to connect to Exchange?