Last post Oct 13, 2011 07:26 AM by BhavikaPatel
Jul 06, 2010 09:21 AM|Barry Andrew|LINK
I am trying to interop to Exchange 2007 via its web-services and have the following issue;
Authentication mode = “windows” in the web.config….
Why isn’t the default credential passing the current user to the exchange webservice (EWS)?
Dim esb As New mailserver.ExchangeServiceBinding() 'Provide the NetworkCredential esb.Credentials = CredentialCache.DefaultCredentials 'Provide the URL esb.Url = "https://server.domain.local/EWS/exchange.asmx"
It returns no mailbox found when I try and add a calendar item.I’m pretty sure it’s not passing the credentials.
"When making a request as an account that does not have a mailbox, you must specify the mailbox primary SMTP address for any distinguished folder Ids."
Yet when I hard code my credentials in, it works fine.
Oct 13, 2011 07:26 AM|BhavikaPatel|LINK
I am facing the same problem.Did you get any solution for this?
Please reply back your comments.