Hobby Chef
Want to learn Exchange Web Service but not sure how and from where? Here are the few articles that I share very often with partners and customers who want to learn more about Exchange Web Services.
Undoubtedly there is so much information out there and that’s too in such a short span of time. You better start with Inside Exchange Web Services book from MSPRESS and then the rest of the articles can be utilized.
MSPRESS BOOK
http://www.microsoft.com/learning/en/us/books/10724.aspx
Note: This book target Exchange 2007 RTM and does not talk about features introduced in Exchange 2007 Sp1 & later
http://blogs.msdn.com/vikas/archive/2007/07/27/howto-getfolder-finditem-restriction-getitem.aspx
http://blogs.msdn.com/vikas/archive/2007/10/16/howto-ews-add-attachments-to-existing-items-on-server.aspx
http://blogs.msdn.com/webdav_101/archive/2008/10/02/links-on-common-exchange-web-services-ews-questions.aspx
http://blogs.msdn.com/webdav_101/archive/2009/01/10/sample-howto-display-a-list-of-calendar-items-in-listview-using-ews.aspx
Part 1
http://blogs.msdn.com/mstehle/archive/2008/07/17/outbox-understanding-and-fixing-slow-exchange-web-services-code-part-1.aspx
Part 2 http://blogs.msdn.com/mstehle/archive/2008/08/13/outbox-understanding-and-fixing-slow-exchange-web-services-code-part-2.aspx
Part 2
http://blogs.msdn.com/mstehle/archive/2008/08/13/outbox-understanding-and-fixing-slow-exchange-web-services-code-part-2.aspx
Exchange Notifications
http://blogs.msdn.com/vikas/archive/2007/08/28/ews-exchange-2007-notification-subsystem.aspx
http://blogs.msdn.com/exchangedev/archive/2008/07/24/transitioning-to-exchange-web-services-notifications.aspx
Note: Notification Watermarks are valid for 30 days after which they expire
Exchange Managed API
Videos –
http://channel9.msdn.com/pdc2008/BB46/ http://msexchangeteam.com/archive/2009/03/24/450892.aspx
http://channel9.msdn.com/pdc2008/BB46/
http://msexchangeteam.com/archive/2009/03/24/450892.aspx
http://msdn.microsoft.com/en-us/library/dd637749.aspx
http://msdn.microsoft.com/en-us/library/dd633710.aspx
http://msdn.microsoft.com/en-us/exchange/default.aspx
Please do let me know if that information is helpful to you.
First thing first, you should understand that this is NOT SUPPORTED & NOT RECOMMENDED solution by Microsoft.
This is just a proof of concept that OWA 2007 can be auto login, if you know the username & password of target account.
The approach is simple and took me little reverse engineering or OWA’s login page. Owa login page being HTML does a form submit and post the username/password along with few hidden variables and upon receiving those parameters owaauth.dll generate a cookie, assign it to the session and redirect you to your mailbox. How easy, you may say.. but how you can submit those parameters programmatically.
This is how its done…
<script> function LoginToOWA (server,domain,username,password) { var url = "https://" + server + "/exchweb/bin/auth/owaauth.dll"; var p = {destination:'https://' + server + '/exchange',flags:'0',forcedownlevel:'0',trusted:'0',isutf8:'1',username:domain + '\\' + username,password:password}; var myForm = document.createElement("form"); myForm.method="post" ; myForm.action = url ; for (var k in p) { var myInput = document.createElement("input") ; myInput.setAttribute("name", k) ; myInput.setAttribute("value", p[k]); myForm.appendChild(myInput) ; } document.body.appendChild(myForm) ; myForm.submit() ; document.body.removeChild(myForm) ; } </script> <body onload="javascript:LoginToOWA('owa.exchange.com','domain','username','password');"> <h3>Please wait while redirecting to OWA...</h3> </Body>
Happy Coding!!!