<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx</link><description>Hello, I have been playing around a couple of days with WebDav and I found it really interesting how simple it was to retrieve and modify messages from OWA. WebDav (World Wide Web Distributed Authoring and Versioning) is a standard that help us edit and</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: How to programmatically authenticate to Exchange Server 2003 in .NET with forms-based authentication enabled </title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#1185492</link><pubDate>Fri, 01 Dec 2006 20:24:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1185492</guid><dc:creator>Tim McCarthy's Blog</dc:creator><description /></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#1189226</link><pubDate>Sat, 02 Dec 2006 05:52:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1189226</guid><dc:creator>jdawg1994</dc:creator><description>&lt;p&gt;Great Post! I have been researching methods for retrieving mail items from Exchange public folders for a week or so now. webDAV looks promising and your example is much clearer than most I have seen. &lt;/p&gt;
&lt;p&gt;Your example works great for my inbox, but when I attempt to search the public folder I get a &amp;quot;501 Not Implemented&amp;quot; error. Do you know if it is possible for Exchange to disabled this type access to public folders while allowing Inbox access? &lt;/p&gt;
&lt;p&gt;Note:&lt;/p&gt;
&lt;p&gt;I can use our &lt;a rel="nofollow" target="_new" href="https://myMail.myCorp.com"&gt;https://myMail.myCorp.com&lt;/a&gt; website to view both my Inbox (/exchange/) and public folders (/public/) .&lt;/p&gt;</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#1208060</link><pubDate>Tue, 05 Dec 2006 02:45:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1208060</guid><dc:creator>jdawg1994</dc:creator><description>&lt;p&gt;If anyone is interested... I changed the SCOPE in the SQL from 'deep traversal' &amp;nbsp;to 'shallow traversal' to access public folders.&lt;/p&gt;
</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#1210051</link><pubDate>Tue, 05 Dec 2006 11:23:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1210051</guid><dc:creator>davidhernandez</dc:creator><description>&lt;P&gt;I could access public folders even with the 'deep traversal' option. I've read that sometimes if there is a migration from Exchange 2003 to 2007 it may give that error and some Admin task should be run.&lt;/P&gt;
&lt;P&gt;The Scope should be based on how you want to look for your elements:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k_scope.asp" target=_new rel=nofollow&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k_scope.asp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;There is also a restriction on MAPI stores using deep traversal:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_specifying_a_deep_traversal.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_specifying_a_deep_traversal.asp&lt;/A&gt;&lt;/P&gt;</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#1443417</link><pubDate>Wed, 10 Jan 2007 13:34:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1443417</guid><dc:creator>sandeep</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;Can you please tell me how can you do the same through the VB Script....&lt;/p&gt;
&lt;p&gt;I've already done it through .Net but I need it in the vb... I'm trying to reuse WinHttp SetRequestHeader and setting sessionid and cadata header but of no use...&lt;/p&gt;</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#1446100</link><pubDate>Thu, 11 Jan 2007 01:02:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1446100</guid><dc:creator>davidhernandez</dc:creator><description>&lt;p&gt;There is a VB (not VB Script) sample in &lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/308373"&gt;http://support.microsoft.com/kb/308373&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I don't think you won't need to modify too much code to make it work on VBScript.&lt;/p&gt;
&lt;p&gt;Here is a Javascript sample &lt;a rel="nofollow" target="_new" href="http://www.infinitec.de/articles/exchange/webdavwithfba.aspx"&gt;http://www.infinitec.de/articles/exchange/webdavwithfba.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>How do I access my Outlook contacts from my web application?</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#1561180</link><pubDate>Wed, 31 Jan 2007 06:48:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1561180</guid><dc:creator>Wes' Puzzling Blog</dc:creator><description>&lt;p&gt;Question How do I access my Outlook contacts from my web application? Short Answer You don't, well at&lt;/p&gt;</description></item><item><title>How do I access my Outlook contacts from my web application?</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#1561185</link><pubDate>Wed, 31 Jan 2007 06:49:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1561185</guid><dc:creator>Wes' Blog</dc:creator><description>&lt;p&gt;Question How do I access my Outlook contacts from my web application? Short Answer You don't, well at&lt;/p&gt;
</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#1686908</link><pubDate>Fri, 16 Feb 2007 07:00:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1686908</guid><dc:creator>Geetha</dc:creator><description>&lt;P&gt;I'm trying to access &amp;nbsp;the emails from OWA.&lt;/P&gt;
&lt;P&gt;I tried this link&lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/ms879334.aspx" target=_new rel=nofollow&gt;http://msdn2.microsoft.com/en-us/library/ms879334.aspx&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;I'm getting thie '440 Login Timeout error'&lt;/P&gt;
&lt;P&gt;I wanted to try your exxample code... but it looks like some lines were disappeared like this one&lt;/P&gt;
&lt;P&gt;' Create our destination URL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim strURL As String = "https://" &amp;amp; strServerName &amp;amp; "/exchange/" &amp;amp; strUserName &amp;amp; "/inbox"&lt;/P&gt;
&lt;P&gt;please help me out.&lt;/P&gt;
&lt;P&gt;kgeethu_at_hotmail.com&lt;/P&gt;</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#1687438</link><pubDate>Fri, 16 Feb 2007 10:56:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1687438</guid><dc:creator>davidhernandez</dc:creator><description>&lt;p&gt;I tried the link and works ok: &lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/ms879334.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms879334.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I am not really sure by what you mean by some lines disappeared. The code is compilable and runnable &amp;quot;AS IS&amp;quot; (You only need to replace the variables values &lt;/p&gt;
&lt;p&gt;Dim strServerName As String = &amp;quot;&amp;lt;ENTER SERVER NAME&amp;gt;&amp;quot; &amp;nbsp; &amp;nbsp; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim strDomain As String = &amp;quot;&amp;lt;ENTER DOMAIN NAME&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim strUserID As String = &amp;quot;&amp;lt;ENTER USER ID&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim strPassword As String = &amp;quot;&amp;lt;ENTER PASSWORD&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim strUserName As String = &amp;quot;&amp;lt;ENTER USER NAME&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim term As String = &amp;quot;&amp;lt;ENTER A STRING TO SEARCH&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;)&lt;/p&gt;
</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#2025167</link><pubDate>Wed, 04 Apr 2007 14:54:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2025167</guid><dc:creator>Ami Shah</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;I tried the same sample code, i got 3 cookies but &amp;nbsp;got Login Time out error while executing the search command.&lt;/p&gt;
&lt;p&gt;Any idea?&lt;/p&gt;</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#2545546</link><pubDate>Fri, 11 May 2007 14:51:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2545546</guid><dc:creator>Lothu</dc:creator><description>&lt;p&gt;I have tried the above sample code. Languages i used : C#,Windows service &lt;/p&gt;
&lt;p&gt;i am getting the following error in this line:::&lt;/p&gt;
&lt;p&gt;RequestStream = Request.GetRequestStream()---&amp;gt;&lt;/p&gt;
&lt;p&gt;System.Net.WebException: Unable to connect to the remote server ---&amp;gt; System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond&lt;/p&gt;
&lt;p&gt;can u pls help me to resolve this?&lt;/p&gt;</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#2545696</link><pubDate>Fri, 11 May 2007 15:06:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2545696</guid><dc:creator>davidhernandez</dc:creator><description>&lt;p&gt;Lothu:&lt;/p&gt;
&lt;p&gt;It seems that the server is not responding, this can happen for various reasons:&lt;/p&gt;
&lt;p&gt;1 Firewall in client or server&lt;/p&gt;
&lt;p&gt;2 WebDav could be disabled in Exchange&lt;/p&gt;
&lt;p&gt;3 Address is not correct&lt;/p&gt;
&lt;p&gt;4 The protocol is not correct (check if the server can use ssl, otherwise use http instead of https)&lt;/p&gt;
&lt;p&gt;5 ...&lt;/p&gt;
</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#2546120</link><pubDate>Fri, 11 May 2007 15:45:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2546120</guid><dc:creator>Lothu</dc:creator><description>&lt;p&gt;davidhernandez:&lt;/p&gt;
&lt;p&gt;It's working fine when i call as a seperate component..but when i call thru webservice it's throwing the above error.&lt;/p&gt;</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#3732786</link><pubDate>Fri, 06 Jul 2007 20:50:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3732786</guid><dc:creator>Mohan</dc:creator><description>&lt;p&gt;Its working fine with me also. I would appreciate if you can help me in getting to know how can I paginate my mails by retreiving fixed 25 mails everytime.&lt;/p&gt;</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#4134724</link><pubDate>Mon, 30 Jul 2007 20:54:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4134724</guid><dc:creator>praveen</dc:creator><description>&lt;p&gt;how do i download attachments using webdav...&lt;/p&gt;
&lt;p&gt;HttpWebRequest1 = New MSXML2.XMLHTTP40&lt;/p&gt;
&lt;p&gt;HttpWebRequest1.open(&amp;quot;GET&amp;quot;, xml1.Value, False, &amp;quot;pradind&amp;quot;, &amp;quot;spr@2106&amp;quot;)&lt;/p&gt;
&lt;p&gt;HttpWebRequest1.setRequestHeader(&amp;quot;Content-Type&amp;quot;, &amp;quot;xml&amp;quot;) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HttpWebRequest1.send()&lt;/p&gt;
&lt;p&gt;ReadAnAttatchment = HttpWebRequest1.responseText&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; here, ReadAnAttatchment is in string format, so, how can i save it in its respective file format( excel,word...etc).&lt;/p&gt;
&lt;p&gt;any help on this is appreciated..&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#5293596</link><pubDate>Fri, 05 Oct 2007 17:09:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5293596</guid><dc:creator>Jayanth Nadig</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;i have got a exchange public folder and i have placed 4 files in that folder. i am accessing the public folder through C#. i am able to get the file count as 4, but i am unable to get the file names in the folder. please help me.&lt;/p&gt;</description></item><item><title>How do I access my Outlook contacts from my web application?</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#5980343</link><pubDate>Thu, 08 Nov 2007 10:46:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5980343</guid><dc:creator>Echang</dc:creator><description>&lt;p&gt;Question&lt;/p&gt;
&lt;p&gt;HowdoIaccessmyOutlookcontactsfrommywebapplication?&lt;/p&gt;
&lt;p&gt;ShortAnswer&lt;/p&gt;
&lt;p&gt;Youdon't,&lt;/p&gt;</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#7244920</link><pubDate>Fri, 25 Jan 2008 22:10:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7244920</guid><dc:creator>MrWobbles</dc:creator><description>&lt;p&gt;I am getting a 440 Login Timeout error on the Response = Request.GetResponse() line of code. &amp;nbsp;Is there something that I should do on the server side or should this all be able to be done from where the program is run without messing with the server? Any help is appreciated - Thank you.&lt;/p&gt;</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#8444207</link><pubDate>Wed, 30 Apr 2008 20:42:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8444207</guid><dc:creator>milap_great</dc:creator><description>&lt;p&gt;I am also getting 440 Login Timeout Error&lt;/p&gt;
</description></item><item><title>re: Programmatically accessing to OWA through Web Dav</title><link>http://blogs.msdn.com/davidhernandez/archive/2006/12/01/access-to-owa-programmatically-through-web-dav.aspx#8656540</link><pubDate>Thu, 26 Jun 2008 15:40:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8656540</guid><dc:creator>kbsudhir</dc:creator><description>&lt;p&gt;I just want to capture the attributes of the mail automatically as soon as it comes into our common mailbox in the exchange server.&lt;/p&gt;
&lt;p&gt;Any guidance regarding the same is of great help.&lt;/p&gt;
</description></item></channel></rss>