I am testing Exchange Web Services. I manage to connect to my Exchange server in this demo:
In this demo the user and password can be anything and it still works - am I right?
But when I try to get mailbox and folder information in this demo:
I get an exeption saying
Object MovedThis document may be found here
and I am redirected to my Office Outlook Webaccess. Why is that? The user and password works fine here so it should be correct.
About the domain entry - my provider says that this should be left empty but I can’t in the demo. Can I write anything then?
Thank you for considering Aspose.
Can you please provide the Exchange Server Address that you are providing to retrieve the MailBox and Folder information from?
Please note that the Exchange Server Address will be in a format as given below,
You can provide the exchange-server-address portion from the above URL as your Domain. In your case it will probably be “ilait.se”.
Please test the demo with correct Exchange Server Address and valid credentials and let us know of your results.
I have attached three images. The first is from the Demo and the second and the third is from my Exchange provider. Please tell me where I go wrong.
I sent a request to try your demo to my exchange provider and they responded like this:
I'm afraid I can't see what the problem is either. I couldn't get it to work.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
I tried to connect and login manually from my computer to https://owa.ilait.se/ews/Exchange.asmx and that worked without a problem, so I'm not sure what Aspose are doing differently.
Do you know what could be the problem?
Thanks for the project - it works fine with the domain blank. I have another question though. I notice that it takes a very long time to fetch all the messages from the inbox (for instance) and I wonder if there is a convenient way to store all the messages the first time (in for instance my SQL database) and after that only get the new messages - the same way the Outlook does it. Maybe you have an example on this in your site. I looked but didn’t seem to find anything.