I am attempting to login to an Exchange 2010 server that is setup to use Form-Based Authentication using Aspose.Network 6.6.0.0.
Hi,
Thank you for inquiry.
With “Form based authentication” with Aspose.Network for .NET, do you mean that you are providing the username, password and domain as parameters like below, instead of using default network credentials?
NetworkCredential credential = new NetworkCredential(username, password, domain);
ExchangeWebServiceClient client = new ExchangeWebServiceClient(mailboxURI, credential);
In that case, could you please check
- The mailbox URI is correct. It is often in the form of
"https://host-name/EWS/Exchange.asmx"
- Try executing the program directly on the Exchange Server if possible. It is to check whether there is a firewall blocking or other network issue.
Is this exception thrown on Send() only? Can you list the folders and messages using the same authentication?