Check exchange credentials remotely and check user logged in
I have attempted this with not much success. Basically I need to login to Exchange using EWS remotely. The issue is I don't know if the user has logged in OK or if the credentials are wrong as I get nothing back! If I provide wrong credentials the software just carries on! Is there something I'm missing, I've checked the MSDN stuff about EWS which shows you how to connect to exchange but nothing about validating credentials! Below is the code I currently have to connect. public void connect(string Email, string Password) { try { _useremail = Email; _userpass = Password; // Define the