Using the Exchange Server Protocols ForumDiscuss technical content and implementation of the Exchange and Outlook protocols described in the Open Specifications© 2009 Microsoft Corporation. All rights reserved.Wed, 25 Nov 2009 20:47:07 Zf1b5ba25-6c07-4eef-8bbd-eb5aace44a87http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/1b01e9b8-f22c-4e60-acdf-010aaa18b417http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/1b01e9b8-f22c-4e60-acdf-010aaa18b417AlexIllsleyhttp://social.msdn.microsoft.com/Profile/en-US/?user=AlexIllsleyExchange WebDav QueryHi,<br/> I am trying to run a webdav query to search for emails from a particual mailbox which contains the word chain however my Webdav query doesnt seem to work properly. I have posted the query below:<br/> <em><br/> &quot;&lt;?xml version=&quot;1.0&quot;?&gt;<br/> &lt;g:searchrequest xmlns:g=&quot;DAV:&quot;&gt;<br/> &lt;g:sql&gt;<br/> SELECT &quot;urn:schemas:httpmail:subject&quot;, &quot;urn:schemas:httpmail:from&quot;, &quot;DAV:displayname&quot;, &quot;urn:schemas:httpmail:to&quot; ,&quot;urn:schemas:httpmail:textdescription&quot; ,&quot;urn:schemas:httpmail:date&quot; FROM SCOPE('deep traversal of &quot;https://MYSERVER/exchange/MYMAILBOX/&quot;')  WHERE &quot;urn:schemas:httpmail:textdescription&quot; LIKE &quot;%CHAIN%&quot;<br/> &lt;/g:sql&gt;<br/> &lt;/g:searchrequest&gt;&quot;</em> <br/> <br/> Without the search part `WHERE &quot;urn:schemas:httpmail:textdescription&quot; LIKE &quot;%CHAIN%&quot;` the query executes.<br/> <br/> Any ideas what I am doing wrong?<br/> <br/> Thanks,<br/> Alex<br/>Tue, 24 Nov 2009 12:01:16 Z2009-11-25T20:47:07Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/1e4eb225-916a-45e5-9981-91ae5210f3adhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/1e4eb225-916a-45e5-9981-91ae5210f3adAjey Ghaligihttp://social.msdn.microsoft.com/Profile/en-US/?user=Ajey%20GhaligiMicrosoft Exchange Server 2007- Access email over Internet,publish OWA via ISA 2004 on windows 2003<p class=MsoNormal style="text-align:left;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><span style="font-family:Calibri;font-size:small">I have two exchange 2007 CAS servers with NLB and two Mail Boxes CCR all on Windows 2008,I try to publish OWA via ISA 2004 on windows 2003, I create a rule for OWA with Listener HTTPS</span></p> <p class=MsoNormal style="text-align:left;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><span style="font-family:Calibri;font-size:small">After I import the certificate to the ISA ( after I export it from Exchange), my certificate is granted by DigiCert.</span></p> <p class=MsoNormal style="text-align:left;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="text-align:left;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><span style="font-family:Calibri;font-size:small">When I open my browser</span></p> <p class=MsoNormal style="text-align:left;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><a href="https://mail.xu"><span style="font-family:Calibri;font-size:small"><a href="https://mail.xu"><font face=Calibri size=3><a href="https://mail.xyz.net/owa">https://mail.x</a></font></a></span><a href="https://mail.xyz.net/owa"></a></a>yz.net/owa</p> <p class=MsoNormal style="text-align:left;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="text-align:left;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><span style="font-family:Calibri;font-size:small">The loging screen appears corretly. If I provide wrong credentails then the system prompts me for incorrect credentials but if I provide the correct crendentials then the following error page is displayed</span></p> <p class=MsoNormal style="text-align:left;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><span style="font-family:Calibri;font-size:small"> </span></p> <table class=MsoNormalTable style="width:307.5pt" border=0 cellspacing=5 cellpadding=0 width=410> <tbody> <tr style=""> <td style="background-color:transparent;width:3.75in;border:#f0f0f0;padding:2.25pt" width=360> <p class=MsoNormal style="text-align:left;line-height:15pt;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:13pt"> </span></strong></p> <p class=MsoNormal style="text-align:left;line-height:15pt;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:13pt">The page cannot be displayed</span></strong></p> <p class=MsoNormal style="text-align:left;line-height:15pt;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:13pt"> </span></strong></p> </td> <td style="background-color:transparent;width:18.75pt;border:#f0f0f0;padding:0in" width=25> <p class=MsoNormal style="margin:0in 0in 0pt" dir=rtl><span style="font-family:'Times New Roman','serif'" lang=AR-SA> </span></p> </td> </tr> <tr style=""> <td style="background-color:transparent;width:300pt;border:#f0f0f0;padding:2.25pt" colspan=2 width=400> <p class=MsoNormal style="text-align:left;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt">Explanation: </span></strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt">There is a problem with the page you are trying to reach and it cannot be displayed.</span><span style="font-family:'Times New Roman','serif';font-size:12pt"></span></p> </td> </tr> <tr style=""> <td style="background-color:transparent;width:300pt;border:#f0f0f0;padding:2.25pt" colspan=2 width=400> <div class=MsoNormal style="text-align:center;line-height:11pt;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt"> <hr style="color:silver" size=2> </span></div> <p class=MsoNormal style="text-align:left;line-height:11pt;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt">Try the following:</span></strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt"></span></p> <p class=MsoNormal style="text-align:left;line-height:11pt;text-indent:-0.25in;margin:0in 0in 0pt 1in;unicode-bidi:embed;direction:ltr;tab-stops:list .5in"><span style="font-family:Symbol;color:black;font-size:10pt"><span style="">·<span style="font:7pt &quot;Times New Roman&quot;">         </span></span></span><strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt">Refresh page:</span></strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt"> Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion. </span></p> <p class=MsoNormal style="text-align:left;line-height:11pt;text-indent:-0.25in;margin:0in 0in 0pt 1in;unicode-bidi:embed;direction:ltr;tab-stops:list .5in"><span style="font-family:Symbol;color:black;font-size:10pt"><span style="">·<span style="font:7pt &quot;Times New Roman&quot;">         </span></span></span><strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt">Check spelling:</span></strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt"> Check that you typed the Web page address correctly. The address may have been mistyped. </span></p> <p class=MsoNormal style="text-align:left;line-height:11pt;text-indent:-0.25in;margin:0in 0in 0pt 1in;unicode-bidi:embed;direction:ltr;tab-stops:list .5in"><span style="font-family:Symbol;color:black;font-size:10pt"><span style="">·<span style="font:7pt &quot;Times New Roman&quot;">         </span></span></span><strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt">Access from a link:</span></strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt"> If there is a link to the page you are looking for, try accessing the page from that link. </span></p> <div class=MsoNormal style="text-align:center;line-height:11pt;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt"> <hr style="color:silver" size=2> </span></div> <p class=MsoNormal style="text-align:left;line-height:11pt;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt">Technical Information (for support personnel)</span></p> <p class=MsoNormal style="text-align:left;line-height:11pt;text-indent:-0.25in;margin:0in 0in 0pt 1in;unicode-bidi:embed;direction:ltr;tab-stops:list .5in"><span style="font-family:Symbol;color:black;font-size:10pt"><span style="">·<span style="font:7pt &quot;Times New Roman&quot;">         </span></span></span><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt">Error Code: 403 Forbidden. The server denied the specified Uniform Resource Locator (URL). Contact the server administrator. (12202) </span></p> <p class=MsoNormal style="text-align:left;line-height:11pt;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt">Also I have added rule to my ISA to Allow All to All but it is not working … can you help me on this.</span></strong></p> <p class=MsoNormal style="text-align:left;line-height:11pt;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt"> </span></strong></p> <p class=MsoNormal style="text-align:left;line-height:11pt;margin:0in 0in 0pt;unicode-bidi:embed;direction:ltr"><strong><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt">Any Help highly appreciated. Please help Me!!<br/><br/>Thank.</span></strong></p> </td> </tr> </tbody> </table>Tue, 24 Nov 2009 05:31:57 Z2009-11-24T18:06:53Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/97a5a704-fbc9-42bb-914f-38026f70e85ehttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/97a5a704-fbc9-42bb-914f-38026f70e85eJacobHuanghttp://social.msdn.microsoft.com/Profile/en-US/?user=JacobHuangerror return value in RopModifyRecipients<p>I try to create a new message,and I have complete the operation RopCreateMessage and set the mail body and mail subject by RopSetProperties,the above two command is successful and the return value are both 0.<br/>And then  I issue the RopModifyRecipients, referring to the example in section 4.7 of  [MS-OXCMSG] , and the example in section 4.4 of [MS-OXOMSG], however when I send the data buffer to the server by the interface EcDoRpcExt2,I get the return value 0x000004B6, according to [MS-OXCDATA] which is means RpcFormat (A badly formatted RPC buffer was detected). <br/>I have printed the data buffer and compared it to the two examples, I have found the structures are identical,except the account information.<br/>Would any one please tell me where the problem is? Have any one has successful add the recipient to a message referring the protocol example?<br/>Below is my code,if there are some errors you found ,please tell me. Thank you in advanced!<br/><br/>//Code begin<br/> const int columnCount = 12; <br/> int rowCount = 1;</p> <p> unsigned long recipientPropertyTags[columnCount];<br/> recipientPropertyTags[0] = 0x0FFE0003; //PidTagObjectType<br/> recipientPropertyTags[1] = 0x39000003; //PidTagDisplayType<br/> recipientPropertyTags[2] = 0x39FF001F; //PidTagAddressBookDisplayNamePrintable<br/> recipientPropertyTags[3] = 0x39FE001F; //PidTagSmtpAddress<br/> recipientPropertyTags[4] = 0x3A710003; //PidTagSendInternetEncoding<br/> recipientPropertyTags[5] = 0x39050003; //PidTagDisplayTypeEx<br/> recipientPropertyTags[6] = 0x5FF6001F; //PidTagRecipientDisplayName<br/> recipientPropertyTags[7] = 0x5FFD0003; //PidTagRecipientFlags<br/> recipientPropertyTags[8] = 0x5FFF0003; //PidTagRecipientTrackStatus<br/> recipientPropertyTags[9] = 0x5FDE0003; //PidTagRecipientResourceState<br/> recipientPropertyTags[10] = 0x5FDF0003; //PidTagRecipientOrder<br/> recipientPropertyTags[11] = 0x5FF70102; //PidTagRecipientEntryId<br/><br/> ModifyRecipientRow recipientRow;    //self define struct, it include the beloe 4 fields<br/> recipientRow.rowId = 0x00000000;  // rowId is of type unsigned long<br/> recipientRow.recipientType = 0x01;  //recipientType  is of type unsigned char<br/> recipientRow.recipientRowSize = 0x010A;   //recipientRowSize  is of type unsigned short<br/> recipientRow.recipientRow = new unsigned char[recipientRow.recipientRowSize];   //recipientRow  is of type unsigned char*<br/> memset(recipientRow.recipientRow,0,recipientRow.recipientRowSize);<br/><br/> int recipientRowPos = 0;     // use as a cursor in array recipientRow<br/> unsigned short recipientFlags = 0x0651;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;recipientFlags,2);</p> <p> recipientRowPos += 2;<br/> unsigned char addressPrefixUsed = 0x2A;  <br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;addressPrefixUsed,1);</p> <p> recipientRowPos += 1;<br/> unsigned char displayType = 0x00;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;displayType,1);</p> <p> recipientRowPos += 1;<br/> char* exchangeAddress = &quot;huangjiang&quot;;<br/> int exchangeAddressLen = strlen(exchangeAddress) + 1;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],(void*)exchangeAddress,exchangeAddressLen);</p> <p> recipientRowPos += exchangeAddressLen;<br/> wchar_t* displayName = L&quot;huangjiang&quot;;<br/> int displayNameLen = wcslen(displayName) + 1;<br/> displayNameLen *= 2;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],(void*)displayName,displayNameLen);</p> <p> recipientRowPos += displayNameLen;<br/> wchar_t* simpleDisplayName = L&quot;huangjiang&quot;;<br/> int simpleDisplayNameLen = wcslen(simpleDisplayName) + 1;<br/> simpleDisplayNameLen *= 2;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],(void*)simpleDisplayName,simpleDisplayNameLen);</p> <p> recipientRowPos += simpleDisplayNameLen;<br/> unsigned short recipintColumnCount = columnCount;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;recipintColumnCount,2);</p> <p> recipientRowPos += 2;<br/> unsigned char propertyRowFlag = 0x00;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;propertyRowFlag,1);</p> <p> recipientRowPos += 1;<br/> unsigned long pidTagObjectType_value = 0x00000006;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;pidTagObjectType_value,4);</p> <p> recipientRowPos += 4;<br/> unsigned long pidTagDisplayType_value = 0x00000000;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;pidTagDisplayType_value,4);</p> <p> recipientRowPos += 4;<br/> wchar_t* pidTag7BitDisplayName_value = L&quot;huangjiang&quot;;<br/> int pidTag7BitDisplayName_len = wcslen(pidTag7BitDisplayName_value) + 1;<br/> pidTag7BitDisplayName_len *= 2;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],(void*)pidTag7BitDisplayName_value,pidTag7BitDisplayName_len);</p> <p> recipientRowPos += pidTag7BitDisplayName_len;<br/> wchar_t* pidTagSmtpAddress_value = L&quot;huangjiang<a href="mailto:huangjiang@tuvabcd.com">@tuvabcd.com</a>&quot;;<br/> int pidTagSmtpAddress_len = wcslen(pidTagSmtpAddress_value) + 1;<br/> pidTagSmtpAddress_len *= 2;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],(void*)pidTagSmtpAddress_value,pidTagSmtpAddress_len);</p> <p> recipientRowPos += pidTagSmtpAddress_len;<br/> unsigned long pidTagSendInternetEncoding_value = 0x00000000;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;pidTagSendInternetEncoding_value,4);</p> <p> recipientRowPos += 4;<br/> unsigned long pidTagDisplayTypeEx_value = 0x40000000;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;pidTagDisplayTypeEx_value,4);</p> <p> recipientRowPos += 4;<br/> wchar_t* pidTagRecipientDisplayName_value = L&quot;huangjiang&quot;;<br/> int pidTagRecipientDisplayName_len = wcslen(pidTagRecipientDisplayName_value) + 1;<br/> pidTagRecipientDisplayName_len *= 2;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],(void*)pidTagRecipientDisplayName_value,pidTagRecipientDisplayName_len);</p> <p> recipientRowPos += pidTagRecipientDisplayName_len;<br/> unsigned long pidTagRecipientFlags_value = 0x00000001;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;pidTagRecipientFlags_value,4);</p> <p> recipientRowPos += 4;<br/> unsigned long pidTagRecipientTrackStatus_value = 0x00000000;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;pidTagRecipientTrackStatus_value,4);</p> <p> recipientRowPos += 4;<br/> unsigned long pidTagRecipientResourceState_value = 0x00000000;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;pidTagRecipientResourceState_value,4);</p> <p> recipientRowPos += 4;<br/> unsigned long pidTagRecipientOrder_value = 0x00000000;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;pidTagRecipientOrder_value,4);<br/> <br/> unsigned short entryIdSize = 0x0050;<br/> unsigned long entryIdFlag = 0x00000000;<br/> unsigned char entryIdProviderUid[16] = {0xDC,0xA7,0x40,0xC8,0xC0,0x42,0x10,0x1A,0xB4,0xB9,0x08,0x00,0x2B,0x2F,0xE1,0x82}; <br/> unsigned long entryIdVersion = 0x00000001;<br/> unsigned long entryIdType = 0x00000000;<br/> char* entryIdX500dn = &quot;/o=<span style="text-decoration:underline"><span style="color:#0000ff">tuvabcd</span></span>/ou=stuvwabcd/cn=Recipients/cn=huangjiang&quot;;<br/> int entryIdX500dnLen = strlen(entryIdX500dn) + 1; //include '\0'</p> <p> recipientRowPos += 4;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;entryIdSize,2);<br/> recipientRowPos += 2;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;entryIdFlag,4);<br/> recipientRowPos += 4;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],(void*)entryIdProviderUid,16);<br/> recipientRowPos += 16;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;entryIdVersion,4);<br/> recipientRowPos += 4;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],&amp;entryIdType,4);<br/> recipientRowPos += 4;<br/> memcpy((void*)&amp;recipientRow.recipientRow[recipientRowPos],entryIdX500dn,entryIdX500dnLen);<br/><br/><br/>then I header,ropSize,ropId,logonId,InputHandleIndex,ColumnsCount,RecipientsColumns(recipientPropertyTags),rowCount,and the recipientRow into the data buffer ,and sent to the server. I always received the error return value(000004B6).<br/><br/>Thank you for reading such long question!</p>Thu, 19 Nov 2009 07:22:07 Z2009-11-24T15:40:27Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/6edd404d-1193-43f1-932d-78a4faea0be6http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/6edd404d-1193-43f1-932d-78a4faea0be6Dmitry Streblechenko _MVP_http://social.msdn.microsoft.com/Profile/en-US/?user=Dmitry%20Streblechenko%20_MVP_[MS-OXORULE}.pdf and OOFI can access the IPM.ExtendedRule.Message OOF message (Microsoft.Exchange.OOF.KnownExternalSenders.Global) along with its PR_EXTENDED_RULE_CONDITION property  and the corresponding template, but how do I set the OOF time range? <br/>I could use the OOF Web Service ([MS-OXWOOF].pdf) , but I woudl prefer to use MAPI since I have existing code that works with the OOF rules.<br/><br/>Thank you!<hr class="sig">OutlookSpy and Redemption - http://www.dimastr.comWed, 21 Oct 2009 22:41:50 Z2009-11-23T06:43:28Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/a582e880-4613-4a8a-a0ad-6e951b9fabe9http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/a582e880-4613-4a8a-a0ad-6e951b9fabe9OmnibusXhttp://social.msdn.microsoft.com/Profile/en-US/?user=OmnibusXMS-OXCDATA 2.13.5.1 (Restrictions) table questionIn [MS-OXCDATA] — v20090712, the table on pages 99/100 is not very clear.<br/> <br/> First of all, the last two rows of the table both refer to PropTag of &quot;Multi-valued but not same as MultivalueInstance of table&quot; and TaggedValue of &quot;Single-valued&quot;, but contain different Support and Details cell entries. I believe that the last row should actually have TaggedValue of &quot;Multi-valued&quot;. Is that indeed the case?<br/> <br/> Secondly, the PropTag descriptions in the table are unclear. What exactly do the entries &quot;Multi-valued and same as MultivalueInstance column of table&quot; and &quot;Multi-valued but not same as MultivalueInstance of table&quot; mean? Does &quot;Multi-valued and same as MultivalueInstance column of table&quot; mean that the bit field of the PropTag in the restriction is the same as the MultivalueInstance bit field of the column? Since MultivalueInstance bit must not be set on the PropTag field in the restriction, does &quot;Multi-valued and same as MultivalueInstance column of table&quot; refer to the case when the table column also does not have the MultivalueInstance bit set? That does not seem to make sense given the actual Details descriptions involved.<br/> <br/> Thanks.<br/> <br/> Dan<br/> <br/>Thu, 29 Oct 2009 01:27:26 Z2009-11-20T23:10:19Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/fc8f35f0-26c7-4a74-b699-0d21311da30ehttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/fc8f35f0-26c7-4a74-b699-0d21311da30eBrad Hardshttp://social.msdn.microsoft.com/Profile/en-US/?user=Brad%20Hards[MS-OXORULE] Documentation suggestionsThese suggestions relate to [MS-OXORULE] — v20091030 &quot;E-Mail Rules Protocol Specification&quot;<br/> <br/> Section 1.3 contains &quot;Server-side rules are handled entirely by the messaging server, independent of the state of the messaging client. &quot;, where state is a link to MS-OXGLOS entry for ICS state, which is &quot;<strong>ICS state: </strong> A set of properties that determine the state of a <a href="http://msdn.microsoft.com/en-us/library/ee200582.aspx#local_replica">local replica</a> narrowed down to a particular <a href="http://msdn.microsoft.com/en-us/library/ee200548.aspx#synchronization_scope">synchronization scope</a> .&quot; This isn't the right concept. Suggest removing the link.<br/> <br/> Section 1.3.1 contains &quot;Standard rules are created, modified and deleted using the remote operations (ROPs) specified in section 2.2.1 using the underlying [MS-OXCROPS] protocol.&quot; There is only one ROP in that section, so this should be singular.<br/> <br/> Section 1.5 contains &quot;This document also relies on the use of the underlying ROP transport protocol specified in [MS-OXCROPS].&quot; where document is a link to the RTF definition of a document as &quot;<strong>document: </strong> A collection of text and formatting information. One example of a <strong>document</strong> is an e-mail <a href="http://msdn.microsoft.com/en-us/library/ee200565.aspx#message_body">message body</a> .&quot;. That isn't quite the right concept. In MS-OXORULE, it means the specification, where in MS-OXRTFEX it means something from the server. Suggest removing the link.<br/> <br/> Section 2.2 refers to LoginIndex, which probably should be LogonIndex.<br/> <br/> Appendix A Note &lt;1&gt; states &quot;&lt;1&gt; Section 1.3: Outlook 2003 and 2007 is only adding, modifying and deleting rules o n the folders noted below. Outlook ignores rules set on any other folder(s).&quot; which doesn't seem the best expression. Suggest something like &quot;&lt;1&gt; Section 1.3: Outlook 2003 and 2007 will only add, modify or delete rules on the folders<br/> noted below. Outlook ignores rules set on any other folder.&quot; Similar change required on note &lt;6&gt;<br/> <br/> Brad<br/> <br/> <br/> <br/>Sat, 14 Nov 2009 10:37:19 Z2009-11-20T23:08:59Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/9c168e00-b3a9-4ca9-b847-e934c47c16cchttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/9c168e00-b3a9-4ca9-b847-e934c47c16ccBrad Hardshttp://social.msdn.microsoft.com/Profile/en-US/?user=Brad%20Hards[MS-OXORSS] PostRssItemHash interoperabilityHi,<br/> <br/> MS-OXORSS Section 2.2.1.3 &quot;PidLidPostRssItemHash&quot; states <br/> <em>Type: PtypInteger32.<br/> Contains a hash of the feed XML computed by using an implementation -dependent algorithm; used<br/> to quickly determine whether two items are different.</em> <br/> <br/> I'm assuming that this is used to verify whether an item in the feed is different to the items in the current store. I'm not sure how to interoperate with Outlook without the implementation-dependent algorithm.<br/> <br/> The example here is that a user has Outlook (e.g. on the laptop) and another application (e.g. on a phone) and is using the same store for both. So either application can update the list of articles (items) from the feed source. Without agreement on the PostRssItemHash calculation, presumably both applications will add each item to the store (since even if it already exists, it is &quot;new&quot; if the PostRssItemHash doesn't correspond), leading to the store containing two copies of every article. Adding a third application (e.g. desktop machine) will produce yet another copy.<br/> <br/> Can I get more information on the algorithm and how the hash is calculated?<br/> <br/> BradWed, 21 Oct 2009 14:45:02 Z2009-11-20T22:16:07Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/efd24ffa-b607-41f6-b97d-703403b1ac75http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/efd24ffa-b607-41f6-b97d-703403b1ac75LeoLoveEAShttp://social.msdn.microsoft.com/Profile/en-US/?user=LeoLoveEASHow to handle the occasional satus that Exchange server 2007 always return 'MoreAvailable'<div><span class=375175303-30102009><span style="font-size:x-small;font-family:宋体"><span style="font-family:Arial"><span class=375175303-30102009><span style="font-family:Arial"><span style="font-size:x-small">I meet one issue about server response 'MoreAvailable&quot; from Exchange Server 2007.<br/><br/>In daily use of syncing of exchange server 2007, E2K7 server occasionally returns 'MoreAvailable' to EAS client. But there are nothing sync'd to device in this Sync command and next Sync command.<br/><br/>Due to this, some issues are met:<br/>1, EAS device falls into a dead loop because of 'MoreAvailable'.<br/>2, Server will always return 'MoreAvailable', but doesn't return real data to device. It will lead that new email can not be synced timely.But sometimes, server can recover<span class=677503006-30102009> </span>after while.<br/><br/>Who can help me to resolve above problem? Or is it just server issue, will be update in later release?</span></span></span></span></span></span></div>Fri, 30 Oct 2009 06:31:55 Z2009-11-19T18:14:40Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/ebeffeb4-4998-4bcd-9562-0dd2db2250edhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/ebeffeb4-4998-4bcd-9562-0dd2db2250edI. Krkahttp://social.msdn.microsoft.com/Profile/en-US/?user=I.%20Krka[MS_ASCON]Hi,<br /> <br /> I noticed that this protocol is not completely clear in some of the details. For instance, I do not see any distinction between sending an Ignore command and sending a MoveAlways to Delete folder command for some conversation. Another doubt I have is the exact effect of invoking Move command after a MoveAlways or Ignore command. For example, in such a scenario it seems that the Move command would not have any effect as previous invocation of Ignore would automatically move all the messages back to Delete folder.<br /> <br /> Thank you.Wed, 14 Oct 2009 04:07:58 Z2009-11-21T23:06:33Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/58355140-7d31-489e-ac6e-4fc2bf6a82aehttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/58355140-7d31-489e-ac6e-4fc2bf6a82aeDmitry Streblechenko _MVP_http://social.msdn.microsoft.com/Profile/en-US/?user=Dmitry%20Streblechenko%20_MVP_OP_TAG ({MS-OXORULE].pdf)OP_TAG action in a rule is apparently used to both add a property to a message (tag) and delete a property( e.g. Clear Categories rule).<br/>How do I distinguish between the two?<br/>In case of &quot;Clear Categories&quot; rule, I see a weird proptag of 0x800894B0, which followed by the GUID, Kind and ID (&quot;Keywords&quot;).<hr class="sig">OutlookSpy and Redemption - http://www.dimastr.comFri, 23 Oct 2009 18:24:39 Z2009-11-19T00:08:35Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/32509946-f52e-4c50-b016-e4f1aa701c2ehttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/32509946-f52e-4c50-b016-e4f1aa701c2eBrad Hardshttp://social.msdn.microsoft.com/Profile/en-US/?user=Brad%20Hards[MS-OXORULE] Action Flavor flagsHi,<br /> <br /> MS-OXORULE 2.2.5.1.2 &quot;Action Flavors&quot; shows a table of flags. <br /> <br /> Entry &quot;TM&quot; is shown at position 8 in the table. Based on the weird convention used in these specs, that is 0x00008000. However the associated text shows it as bit mask 0x00000008 (which would be position 4).<br /> <br /> Which is correct?<br /> <br /> Thanks<br /> <br /> BradMon, 05 Oct 2009 10:52:22 Z2009-11-17T08:26:24Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/8859d9bc-31b1-447f-a18e-9ce7c7cce739http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/8859d9bc-31b1-447f-a18e-9ce7c7cce739JoeDoyle23http://social.msdn.microsoft.com/Profile/en-US/?user=JoeDoyle23Connecting to Exchange 2010 Personal Archive mailboxHi,<br/> <br/> I've downloaded the Exchange 2010 protocol docs and looked over them in reguards to the new personal archive mailbox feature.  There doesn't appear to be any information for connecting to it via the Exchange Server Protocols.  Do I just need to figure out the archive mailbox's exchangeDN to connect to it like a normal mailbox using RopLogon?  I'm still in process of getting the 2010 RC installed to examine it myself.  <br/> <br/> There isn't a lot of helpful information out that about the personal archive and how it will be accessed problematically.<br/> <br/> Thanks,<br/> JoeTue, 29 Sep 2009 21:55:53 Z2009-11-16T17:11:26Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/721f210c-9554-4251-b41f-2d3e35d1f4b2http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/721f210c-9554-4251-b41f-2d3e35d1f4b2muzzettemm1http://social.msdn.microsoft.com/Profile/en-US/?user=muzzettemm1Setting Up MS Exchange Server 2010HI guys we need to setup MS Exchange Server 2010 for a small office of 10 but they 10 are spread out into differnt office locations.  We are trying to set up a server for the users to have Email and Share an Outlook calendar.  Never done this before, does anyone have any suggestions, is this difficult to setup??  WE are in the process of turning a pretty powerful pc into a server nowSun, 15 Nov 2009 03:50:55 Z2009-11-16T03:11:22Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/90a385a0-c284-4d79-a025-90ae8b67b954http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/90a385a0-c284-4d79-a025-90ae8b67b954JoeDoyle23http://social.msdn.microsoft.com/Profile/en-US/?user=JoeDoyle23Way to determine size of data from RopFastTransferSourceGetBuffer I'm curious as to the best way to store the data received from RopFastTransferSourceGetBuffer.  My current strategy is to grow the memory buffer as I get each response back.  For a typical transfer, I might be expanding the buffer 12 to 15 times, mostly by the maximum size of the data that can be transferred followed by the final segment.  This is working for me so far.<br/> <br/> What I would like to know, is there a way to get the total size of the data first, so I only need to allocate the memory once, instead of growing it as I get it?  The InProgressCount and TotalCount appear to be the number of items in the FastTransfer stream.  I'm filling the FastTransfer stream using the ICS methods, so I don't know what messages I'm going to be sent before I request it.<br/> <br/> I just found RopGetStreamSize.  Will that work against a FastTransfer stream or it is a different type of buffer?  If so, then I think I'm set.<br/> <br/> <br/> Any advice or direction would be appreciated.<br/> <br/> Thanks,<br/> Joe<br/>Sat, 14 Nov 2009 03:18:45 Z2009-11-16T17:23:18Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/1175f77f-2f62-4c3d-a012-28f76ac85412http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/1175f77f-2f62-4c3d-a012-28f76ac85412Brad Hardshttp://social.msdn.microsoft.com/Profile/en-US/?user=Brad%20HardsBuilding an Exchange protocol interop communityThis isn't a question about the protocol, its more a discussion starter for the non-Microsoft people. <br/> <br/> I'm interested in getting our implementation (http://www.openchange.org) done, but I'm also interested in making sure that we are interoperable with other implementers, not just the latest versions of Outlook and Exchange. <br/> <br/> I recognise that the Microsoft guys don't want to provide open-ended support, and that stuff beyond the scope of the wire protocol is a potential disaster to try to support. However perhaps the various implementers can help each other without getting into commercial / non-disclosure areas that make proprietary software vendors nervous.<br/> <br/> As an example, I'm working on the MS-OXORULE implementation. I see questions from <a href="user/threads?user=Dmitry Streblechenko _MVP_">Dmitry Streblechenko</a> that suggest he is working on different aspects of the same document. So for this particular example, maybe we can share test cases?<br/> <br/> As an ultimate goal, I'd like to see frequent interop testing (sometimes face-to-face plug-fests, sometimes virtual plug-fests, but maybe just continuous integration style testing). I'm not really offering anything extra here (since OpenChange is open source, you can just download it and do testing on your own now), other than expertise and interest in fixing problems in our code.<br/> <br/> As a start, is anyone else willing to state what they are working on (e.g. client, server, monitoring tools, and which protocols)?<br/> <br/> Also, is this the preferred venue? Would a mailing list be preferred, even if it meant less insight from the Microsoft people?<br/>Sat, 14 Nov 2009 23:15:08 Z2009-11-14T23:15:09Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/7136dc16-9b52-492c-b556-d4ebbabfaa50http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/7136dc16-9b52-492c-b556-d4ebbabfaa50James Lancehttp://social.msdn.microsoft.com/Profile/en-US/?user=James%20Lance0 byte ActiveSync POSTsWe've encountered a certain Mobile Phone (HTC Touch Pro) running Windows Mobile 6.1 that is sending 0 byte ActiveSync commands to our server. Setting up a brand new relationship, every command it sends is 0 bytes.<br/>  <br/> For example, it will send a 0 byte FolderSync command, than  0 byte Sync command, even though it's never set up any sync relationship (it only gets to the Sync command if the 0 byte FolderSync is treated as:)<br/> &lt;FolderSync  xmlns=&quot;FolderHierarchy:&quot;&gt; <br/>   &lt;SyncKey&gt;0&lt;/SyncKey&gt; <br/> &lt;/FolderSync&gt;  <br/> <br/> The Windows Mobile 6.1 emulator does not do this, only the HTC Touch seems to do it. Is this something we need to handle? e.g. is it supported? Why is this happening? I do not see anything in the documentation about this. (Besides the supported 0 byte commands such as ping or sync after a successful version of the command).<br/> <br/> Thanks<br/>Tue, 28 Jul 2009 23:50:34 Z2009-11-17T11:41:25Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/6127a77e-1380-44c6-abfb-a15138c31eb2http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/6127a77e-1380-44c6-abfb-a15138c31eb2CristianFShttp://social.msdn.microsoft.com/Profile/en-US/?user=CristianFS.net and Exchange RPCHi all, I would like to know if it's possible to establish a communication with the exchange server using .net sockets and send commands to it via rpc calls bypassing the EMSMDB interface, I've tried sending a byte[] (MS-OXCROPS RopLogon RequestBuffer) to the exchange server via the socket connection but got no response from it, I'm not sure if the connection is wrong or if the request is wrong or (hopefully) if my response buffer is wrong.  <div><br/> <div>Thanks a lot.</div> <div><br/></div> <div>Cristian</div> </div>Wed, 28 Oct 2009 00:09:28 Z2009-11-09T22:08:52Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/ddeb1169-3c11-4b6d-bedd-35002ab75ba4http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/ddeb1169-3c11-4b6d-bedd-35002ab75ba4Sirishakhttp://social.msdn.microsoft.com/Profile/en-US/?user=SirishakBad Request Using Active Sync ProtocolHi All, <br/>I am facing a Bad Request error while sending the FolderSync Command to exchange server using Netbook. I checked headers and url everything is proper, the same request works well in another device. Please let me know if anything i should take care.<br/><br/>Thanks in advanceThu, 22 Oct 2009 07:23:30 Z2009-11-09T17:09:37Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/de29602a-7d59-43d2-aafc-aa2e4bbb0d11http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/de29602a-7d59-43d2-aafc-aa2e4bbb0d11Brad Hardshttp://social.msdn.microsoft.com/Profile/en-US/?user=Brad%20Hards[MS-OXORULE] Missing bitmask flags in PidTagRuleStateHi,<br /> <br /> in MS-OXORULE v20090712 section 2.2.1.3.2.3 &quot;PidTagRuleState&quot;, there is a bitmask diagram (top of page 15) that contains a range of flags, followed by text that describes them.<br /> <br /> Two flag values (&quot;M4&quot; and &quot;P2&quot;) don't have any associated text.<br /> <br /> What do these bits mean? <br /> <br /> When do outlook and exchange set them?<br /> <br /> BradSun, 04 Oct 2009 05:41:59 Z2009-11-04T20:03:03Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/bf33bcf9-521a-47f9-a59b-e005694933e8http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/bf33bcf9-521a-47f9-a59b-e005694933e8Brad Hardshttp://social.msdn.microsoft.com/Profile/en-US/?user=Brad%20Hards[MS-OXORULE] PidTagRuleCondition confusionHi,<br /> <br /> In MS-OXORULE v20090712, Section 2.2.1.3.2.9 &quot;PidTagRuleCondition&quot;, the condition associated with a rule is shown as type PtypServerEntryId.<br /> <br /> In MS-OXPROPS v20090712, Section 2.1022 &quot;PidTagRuleCondition&quot; contains &quot;Data type: PtypServerEntryId, 0x00FD&quot;<br /> <br /> In MS-OXCDATA v20090712, Section 2.12.1 &quot;Property Value Types&quot; says that 0x00FD is PtypRestriction, which &quot;Table Variable size, a byte array representing one or more Restriction structures as specified in section 2.13.&quot;<br /> <br /> MS-OXCDATA describes the Restrictions (Section 2.13) and PtypServerId (2.12.1.3), but doesn't seem to mention PtypServerEntryId.<br /> <br /> Is there any more explanation on this? <br /> <br /> Brad<br /> <br /> <br /> <br />Fri, 02 Oct 2009 04:54:05 Z2009-11-04T19:20:42Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/9552a259-5ffd-4d36-ac03-8417855464bbhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/9552a259-5ffd-4d36-ac03-8417855464bbTom Devey - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Tom%20Devey%20-%20MSFTMSDN Release Notes – July 2009<p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">The July 2009 MSDN release of the </span><a href="http://msdn.microsoft.com/en-us/library/cc307725.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">Microsoft Exchange Server Protocols</span></a><span style="font-size:small"><span style="font-family:Calibri"> is an updated release of the <span style="color:black">protocol specifications.   This release includes new specifications that cover Microsoft Exchange Server 2010 and updates to current specifications. This release also includes updates to the Microsoft Exchange Server Standards and Microsoft Office Standards documents.</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-family:Calibri;font-size:small"> </span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-family:Calibri;font-size:small">Click </span><a href="http://go.microsoft.com/fwlink/?LinkId=115073"><span style="font-family:Calibri;color:#0000ff;font-size:small">here</span></a><span style="font-size:small"><span style="font-family:Calibri"> to download the zip file containing all of the Microsoft Exchange Server protocol specification PDF files.</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:small"><span style="font-family:Calibri">Here is the list of new Exchange Server Protocol documents:</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee202758.aspx"><span style="font-family:Calibri;font-size:small">[MS-OXWSADISC]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: AutoDiscover Publishing and Lookup SOAP-based Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee219541.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSATT]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Attachment Handling  Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee124331.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSCDATA]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Common Web Service Data Types Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee178916.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSCONT]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Contacts Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee218241.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSCORE]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Core Items Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee201866.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSCVTID]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Convert Item Identifier Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee179359.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSDLGM]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Delegate Access Management Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee204018.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSDLIST]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Distribution List Creation and Usage Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee219014.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSFOLD]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Folders and Folder Permissions Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee158891.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSGTRM]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Get Rooms List Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee202704.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSGTZ]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Get Server Time Zone Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee201574.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSMSG]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: E-Mail Message Types Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee219567.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSMTGS]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">:Calendaring Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee219296.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSMTRK]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Message Tracking Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee204468.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSNTIF]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Notifications Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee219757.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSPOST]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Post Items Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee219801.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSPSNTIF]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Push Notifications Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee178033.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSRSLNM]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Resolve Recipient Names Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee179334.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSSRCH]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Mailbox Search Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee202309.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSSYNC]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Mailbox Contents Synchronization Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee178307.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSTASK]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Tasks Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee218303.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSUSRCFG]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: User Configuration Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:#1f497d"><a href="http://msdn.microsoft.com/en-us/library/ee157750.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWSXPROP]</span></a></span><span style="font-size:small"><span style="font-family:Calibri">: Extended Exchange Server Web Service Properties Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:small"><span style="font-family:Calibri">Here is the list of the updated Exchange Server Protocol documents:</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299454.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASAIRS]</span></a><span style="font-size:small"><span style="font-family:Calibri">: ActiveSync AirSyncBase Namespace Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299440.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASCAL]</span></a><span style="font-size:small"><span style="font-family:Calibri">:  ActiveSync Calendar Class Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299441.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASCMD]</span></a><span style="font-size:small"><span style="font-family:Calibri">: ActiveSync Command Reference Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299451.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASCNTC]</span></a><span style="font-size:small"><span style="font-family:Calibri">: ActiveSync Contact Class Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd633488.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASCON]</span></a><span style="font-size:small"><span style="font-family:Calibri">: ActiveSync Conversations Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299453.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASDOC]</span></a><span style="font-size:small"><span style="font-family:Calibri">: ActiveSync Document Class Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299455.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASDTYPE]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Exchange ActiveSync Data Types</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299457.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASEMAIL]</span></a><span style="font-size:small"><span style="font-family:Calibri">:  ActiveSync E-Mail Class Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299446.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASHTTP]</span></a><span style="font-size:small"><span style="font-family:Calibri">: ActiveSync HTTP Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd633486.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASMS]</span></a><span style="font-size:small"><span style="font-family:Calibri">: ActiveSync Short Message Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd633485.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASNOTE]</span></a><span style="font-size:small"><span style="font-family:Calibri">: ActiveSync Notes Class Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299443.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASPROV]</span></a><span style="font-size:small"><span style="font-family:Calibri">:  ActiveSync Provisioning Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299452.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASTASK]</span></a><span style="font-size:small"><span style="font-family:Calibri">: ActiveSync Tasks Class Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299442.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-ASWBXML]</span></a><span style="font-size:small"><span style="font-family:Calibri">:  ActiveSync WAP Binary XML (WBXML) Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463882.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-NSPI]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Name Service Provider Interface (NSPI) Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463901.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXABREF]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Address Book Name Service Provider Interface (NSPI) Referral Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463905.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXBBODY]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Best Body Retrieval Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425496.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCDATA]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Data Structures Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463903.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCETF]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Enriched Text Format (ETF) Message Body Conversion Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433475.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCFOLD]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Folder Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463916.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCFXICS]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Bulk Data Transfer Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463911.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCICAL]</span></a><span style="font-size:small"><span style="font-family:Calibri">: iCalendar to Appointment Object Conversion Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463915.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCMAIL]</span></a><span style="font-size:small"><span style="font-family:Calibri">: RFC2822 and MIME to E-Mail Object Conversion Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463900.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCMSG]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Message and Attachment Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463898.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCNOTIF]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Core Notifications Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463904.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCPERM]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Exchange Access and Operation Permissions Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425503.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCPRPT]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Property and Stream Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425494.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCROPS]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Remote Operations (ROP) List and Encoding Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425493.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCRPC]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Wire Format Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463883.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCSPAM]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Spam Confidence Level, Allow and Block Lists Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433479.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCSTOR]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Store Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433494.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCSYNC]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Mailbox Synchronization Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433478.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXCTABL]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Table Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433481.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXDISCO]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Autodiscover HTTP Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463896.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXDSCLI]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Autodiscover Publishing and Lookup Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463913.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXIMAP4]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Internet Message Access Protocol Version 4 (IMAP4) Extensions Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463894.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXLDAP]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Lightweight Directory Access Protocol (LDAP) Version 3 Extensions Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463912.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXMSG]</span></a><span style="font-size:small"><span style="font-family:Calibri">: .MSG File Format Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463908.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXMVMBX]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Mailbox Migration Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463914.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOAB]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Offline Address Book (OAB) Format and Schema Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433489.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOABK]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Address Book Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433477.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOABKT]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Address Book User Interface Templates Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425490.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOCAL]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Appointment and Meeting Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463899.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOCFG]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Configuration Information Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463907.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOCNTC]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Contact Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425488.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXODLGT]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Delegate Access Configuration Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425491.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXODOC]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Document Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433487.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOFLAG]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Informational Flagging Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425502.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOJRNL]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Journal Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433482.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOMSG]</span></a><span style="font-size:small"><span style="font-family:Calibri">:  E-Mail Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463892.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXONOTE]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Note Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425495.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOPFFB]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Public Folder-Based Free/Busy Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463906.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOPOST]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Post Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463885.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXORMDR]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Reminder Settings Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463909.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXORMMS]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Rights-Managed E-Mail Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463884.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXORSS]</span></a><span style="font-size:small"><span style="font-family:Calibri">: RSS Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463893.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXORULE]</span></a><span style="font-size:small"><span style="font-family:Calibri">: E-Mail Rules Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463910.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOSFLD]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Special Folders Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433474.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOSMIME]</span></a><span style="font-size:small"><span style="font-family:Calibri">: S/MIME E-Mail Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433491.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOSMMS]</span></a><span style="font-size:small"><span style="font-family:Calibri">: SMS and MMS Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433476.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOSRCH]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Search Folder List Configuration Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463886.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOTASK]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Task-Related Objects Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425501.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXOUM]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Voice Mail and Fax Objects Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425500.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXPFOAB]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Offline Address Book (OAB) Public Folder Retrieval Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433486.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXPHISH]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Phishing Warning Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433492.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXPOP3]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Post Office Protocol Version 3 (POP3) Extensions Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433490.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXPROPS]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Exchange Server Protocols Master Property List Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433493.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXPSVAL]</span></a><span style="font-size:small"><span style="font-family:Calibri">: E-Mail Postmark Validation Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463890.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXRTFCP]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Rich Text Format (RTF) Compression Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425505.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXRTFEX]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Rich Text Format (RTF) Extensions Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433485.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXSHARE]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Sharing Message Object Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425492.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXSMTP]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Simple Mail Transfer Protocol (STMP) Mail Submission Extensions Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425498.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXTNEF]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Transport Neutral Encapsulation Format (TNEF) Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd633489.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXVCARD]</span></a><span style="font-size:small"><span style="font-family:Calibri">:  vCard to Contact Object Conversion Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463891.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWAVLS]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Availability Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd633490.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWCONFIG]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Web Service Configuration Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd633491.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWMT]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Mail Tips Extensions to Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463887.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWOAB]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Offline Address Book (OAB) Retrieval Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463902.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWOOF]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Out of Office (OOF) Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463897.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXWUMS]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Voice Mail Settings Web Service Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425504.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-XJRNL]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Journal Record Message Format Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433484.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-XLOGIN]</span></a><span style="font-size:small"><span style="font-family:Calibri">: SMTP Protocol AUTH LOGIN Extension Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299448.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-XWDCAL]</span></a><span style="font-size:small"><span style="font-family:Calibri">: WebDAV Extensions for Calendar Support</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd425023.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-XWDCNTC]</span></a><span style="font-size:small"><span style="font-family:Calibri">: WebDAV Extensions for Contacts Support Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299447.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-XWDDOC]</span></a><span style="font-size:small"><span style="font-family:Calibri">: WebDAV Extensions for Documents Support</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd633487.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-XWDEXT]</span></a><span style="font-size:small"><span style="font-family:Calibri">: WebDAV Core Extensions Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299458.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-XWDFOLD]</span></a><span style="font-size:small"><span style="font-family:Calibri">: WebDAV Extensions for Folders Support</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299450.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-XWDMAIL]</span></a><span style="font-size:small"><span style="font-family:Calibri">: WebDAV Extensions for Email Support</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299449.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-XWDNOTIF]</span></a><span style="font-size:small"><span style="font-family:Calibri">: WebDAV Extensions for Notifications Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299445.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-XWDREPL]</span></a><span style="font-size:small"><span style="font-family:Calibri">: WebDAV Extensions for Replication Protocol Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299456.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-XWDSEARCH]</span></a><span style="font-size:small"><span style="font-family:Calibri">: WebDAV Extensions for Search</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/dd299439.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-XWDSTRUCTDOC]</span></a><span style="font-size:small"><span style="font-family:Calibri">: WebDAV Extensions for Structured Documents</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433483.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-XWDVSEC]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Web Distributed Authoring and Versioning (WebDAV) Protocol Security Descriptor Extensions Specification</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:small"><span style="font-family:Calibri">Here is the list of the updated Exchange Server Protocol References documents:</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc483132.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-CAB]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Cabinet File Format</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc483131.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-MCI]</span></a><span style="font-size:small"><span style="font-family:Calibri">: MCI Compression and Decompression</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc425489.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXREF]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Exchange Server Protocols Master Reference</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc483133.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-PATCH]</span></a><span style="font-size:small"><span style="font-family:Calibri">: LZX DELTA Compression and Decompression</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:small"><span style="font-family:Calibri">Here is the list of additional updated Exchange Server documents:</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433488.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXDOCO]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Exchange Server Protocols Document Roadmap</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc463895.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXPROTO]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Exchange Server Protocols Overview</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc433480.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-OXGLOS]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Exchange Server Protocols Master Glossary</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:small"><span style="font-family:Calibri">Here is the list of updated Microsoft Exchange Server standards:</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc984265.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-STANXICAL]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Exchange iCalendar Standards Compliance</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc984263.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-STANXIMAP]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Exchange IMAP4 Standards Compliance</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc984264.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-STANXPOP3]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Exchange POP3 Standards Compliance</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:small"><span style="font-family:Calibri">Here is the list of updated Microsoft Office standards:</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc998580.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-STANOICAL]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Outlook iCalendar Standards Compliance</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc998579.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-STANOIMAP]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Outlook IMAP Standards Compliance</span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://msdn.microsoft.com/en-us/library/cc998583.aspx"><span style="font-family:Calibri;color:#0000ff;font-size:small">[MS-STANOPOP3]</span></a><span style="font-size:small"><span style="font-family:Calibri">: Outlook POP3 Standards Compliance</span></span></p><hr class="sig">Developer ConsultantWed, 04 Nov 2009 16:10:06 Z2009-11-04T16:10:06Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/47edad7b-1413-409d-b409-43677609f312http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/47edad7b-1413-409d-b409-43677609f312sriseethahttp://social.msdn.microsoft.com/Profile/en-US/?user=sriseethaProblem in Creating mailbox in Exchange Server 2003 &lt;!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:&quot;&quot;; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:&quot;Times New Roman&quot;; mso-fareast-font-family:&quot;Times New Roman&quot;;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --&gt; <p class=MsoNormal>Hi,<br/> <br/> Greetings to all...<br/> <br/> I'm facing a problem in creating the mail box in Exchange Server 2003 via script.<br/> <br/> Let me Explain the Requirements :<br/> <br/> I'm automating the ADMIN process via vb scripting. we are having two different server for &quot;Active Directory (LDAP)&quot; and &quot;Exchange Server 2003&quot;. &quot;Test Linux Server&quot;.<br/> <br/> Now I need to create a email box for a particular user those who are having account in AD.<br/> <br/> I found a utility for MailBox Creation.<br/> The name of the Utility is : ExchMbx.exe<br/> <br/> If we provide the DNstring to this utility it'll create the mail box for that user.<br/> <br/> Example :</p> <p class=MsoNormal><strong><span style="font-size:10pt;font-family:Arial">dsquery user -samid mkautomate  | ExchMbx.exe -cr &quot;CN=Mailbox Store (BLREXCH01),CN=First Storage Group,CN=InformationStore,CN=BLREXCH01,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=VITAGETECH,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=vitagetech,DC=com&quot;</span> </strong></p> <p class=MsoNormal> </p> <p class=MsoNormal>otherwise we can given -b and DNString</p> <p class=MsoNormal> </p> <p class=MsoNormal>I placed this <strong><span style="font-size:10pt;font-family:Arial">ExchMbx.exe </span> </strong> in C:\Tools\ dir.</p> <p class=MsoNormal> </p> <p class=MsoNormal>from the command prompt I called this exe with the above option, I could create the email box for the given user. <img class=inlineimg border=0 alt="" width=19 height=19> </p> <p class=MsoNormal> </p> <p class=MsoNormal>So for I does all these executions in Exchange server directly (mstsc RDP Connection as domain + exchange server + enterprice admin). <img class=inlineimg border=0 alt="" width=19 height=19> </p> <p class=MsoNormal> </p> <p class=MsoNormal>------------------------</p> <p class=MsoNormal> </p> <p class=MsoNormal><strong>Remote Execution.... <img class=inlineimg border=0 alt="" width=19 height=19> </strong></p> <p class=MsoNormal> </p> <p class=MsoNormal>There is a utility available for executing a scripting windows server through linux<strong>.</strong></p> <p class=MsoNormal><strong>winexe</strong></p> <p class=MsoNormal><strong>code source &amp; examples are available here.</strong></p> <p class=MsoNormal><strong>http://eol.ovh.org/winexe/</strong></p> <p class=MsoNormal> </p> <p class=MsoNormal>I used this utility for AD User Creation and other AD related tasks<strong>. </strong> It worked very well and proven also.</p> <p class=MsoNormal> </p> <p class=MsoNormal>now I'm calling the ipconfig via winexe.</p> <p class=MsoNormal> </p> <p class=MsoNormal>winexe --system -U &lt;domainname&gt;/&lt;adminuserid&gt;%&lt;adminpassword&gt; //&lt;ExchangeServerIP&gt; &quot;ipconfig&quot;</p> <p class=MsoNormal> </p> <p class=MsoNormal>If the above one is success and if you get the IPConfig, Call this script,</p> <p class=MsoNormal> </p> <p class=MsoNormal>winexe --system -U &lt;domainname&gt;/&lt;adminuserid&gt;%&lt;adminpassword&gt; //&lt;ExchangeServerIP&gt; 'cscript C:\Tools\<strong><span style="font-size:10pt;font-family:Arial">ExchMbx.exe -b &quot;CN=mkautomate,OU=RBA,DC=vitagetech,DC=com&quot; -cr &quot;CN=Mailbox Store (BLREXCH01),CN=First Storage Group,CN=InformationStore,CN=BLREXCH01,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=VITAGETECH,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=vitagetech,DC=com&quot;'</span> </strong></p> <p class=MsoNormal> </p> <p class=MsoNormal>I pass the same domain UserId and Password to winexe.</p> <p class=MsoNormal> </p> <p class=MsoNormal>It simply saying &quot;Access Denied&quot;. <img class=inlineimg border=0 alt="" width=19 height=19> </p> <p class=MsoNormal> </p> <p class=MsoNormal>I checked the event/error/application logs in the Exchange server.</p> <p class=MsoNormal>I checked the permissions are same through the RDP as well as the winexe.</p> <p class=MsoNormal>ExchMbx V01.04.00cpp Joe Richards (joe@joeware.net) April 2006</p> <p class=MsoNormal style="margin-left:3pt">ERROR: (CreateMailBox) (0x80070005) Access is denied.</p> <p class=MsoNormal>I'm breaking my head for past 2 weeks. <img class=inlineimg border=0 alt="" width=19 height=19> </p> <p class=MsoNormal> </p> <p class=MsoNormal>What could be the problem ?? Can any one help me on this ??</p> <p class=MsoNormal> </p> <p class=MsoNormal>Regards,</p> <p class=MsoNormal>Sri</p>Tue, 03 Nov 2009 15:06:30 Z2009-11-04T00:31:20Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/4a333bff-11a0-426a-b4d5-8fd262d82470http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/4a333bff-11a0-426a-b4d5-8fd262d82470JacobHuanghttp://social.msdn.microsoft.com/Profile/en-US/?user=JacobHuanghow to get the DN(distinguish name)<p>In the interface <strong>EcDoConnectEx</strong>,the parameter <strong>szUserDN</strong> is in the form of <strong>&quot;/0=Microsoft/OU=Site1/cn=Recipient/cn=John&quot;</strong>, my question is that <strong>How could I get the string by the exchange protocol</strong>. I mean that How can I get the string by calling some interface. Could anyone tell me which interface to call , in which protocol doc?<br/>Now I obtained the string by finding the string in the address book in my <strong>MS Outlook</strong>,and then hard coding into the program,but that is not  feasible.<br/><br/>Thank you in advanced!</p>Tue, 20 Oct 2009 12:02:48 Z2009-11-18T19:21:34Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/4f0c3caf-9fb1-4b81-864b-c0227d1cde2fhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/4f0c3caf-9fb1-4b81-864b-c0227d1cde2fEas coderhttp://social.msdn.microsoft.com/Profile/en-US/?user=Eas%20coderHow to Get serverID from LongID in EASHi guys,<br/> <br/> I am searching exchange server for mails using free text as query the response i get is longId and other fields... but what i really want is serverId of the mail is there any way to get the search result as serverId or is there anyway i can get serverId from longId.... as my requirement is serverid only not the body, subject or any other fields<br/> <br/> Regards,<br/> Manjunath<br/> __________________________________________________________________________________________________<br/> <a title="http://www.ceveni.com/" href="http://www.ceveni.com/" title="http://www.ceveni.com/">http://www.ceveni.com/</a>Thu, 28 May 2009 07:18:17 Z2009-10-26T06:11:23Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/c176efbc-c3b9-478d-89a3-db0366c2567bhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/c176efbc-c3b9-478d-89a3-db0366c2567bBrad Hardshttp://social.msdn.microsoft.com/Profile/en-US/?user=Brad%20HardsRule Conditions and Outlook rules wizardHi,<br /> <br /> I'm trying to implement and test the various conditions that can be associated with a rule (i.e. the PidTagRuleCondition variations). <br /> <br /> As shown in MS-OXCDATA, Section 2.13, there are twelve types of restriction. So far, I've managed to get Outlook 2007 to generate rules using <br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RES_AND&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 0x0,<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RES_OR&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 0x1,<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RES_NOT&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 0x2,<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RES_CONTENT&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 0x3,<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RES_PROPERTY&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 0x4,<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RES_BITMASK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 0x6,<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RES_EXIST&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 0x8,<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RES_COMMENT&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 0xA,<br /> <br /> However I haven't managed to generate a rule using any of the following restriction types.<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RES_COMPAREPROPS&nbsp;&nbsp;&nbsp; = 0x5,<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RES_SIZE&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 0x7,<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RES_SUBRESTRICTION&nbsp;&nbsp;&nbsp; = 0x9,<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RES_COUNT&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = 0xB<br /> <br /> Does outlook rules wizard allow generation of those restriction types? If so, can I have a hint on how?<br /> <br /> If not, is there some other way to generate these rules within Outlook or Exchange?<br /> <br />Mon, 05 Oct 2009 03:33:05 Z2009-10-24T20:19:52Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/ef41b84b-6f36-4817-9385-745adfa8dec6http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/ef41b84b-6f36-4817-9385-745adfa8dec6Brad Hardshttp://social.msdn.microsoft.com/Profile/en-US/?user=Brad%20Hards[MS-OXCSTOR] Documentation suggestions[These are more suggestions for a future version, rather than questions]<br/> <br/> 1.6: stray &quot; mark at the end of the paragraph.<br/> <br/> 2.2.1.1.1.1: It might be useful to add a bit more explanation as to what &quot;Undercover&quot; is intended to be used for. <br/> <br/> 2.2.1.1.1.1: Use of the term &quot;Directory&quot; implies AD, which is an implementation detail. <br/> <br/> 2.2.1.1.1.2 This section probably should include the USE_ADMIN_PRIVILEGE flag (mentioned in 2.2.1.1.5)<br/> <br/> 2.2.1.1.4.2 Inclusion of the three &quot;Empty&quot; folders at the end isn't adding anything here.<br/> <br/> 2.2.1.2.2.2 &quot;RopSetRecieveFolder&quot; probably should be &quot;RopSetReceiveFolder&quot; in the last paragraph.<br/> <br/> 2.2.1.5.2.1  It might be worth adding a reference to 2.2.1.1.3.9 for StoreState.<br/> <br/> 2.2.1.7.2.1 Suggest adding a space between Boolean and property<br/> <br/> 2.2.2.1 (Table on page 33) For PidTagStoreState, suggest making the reference to 2.2.1.1.3.9, since 2.2.1.1.1.3 just says &quot;ignored&quot;.<br/> <br/> Section 6 Note &lt;20&gt;. It might be useful to add a link to the Active Directory documentation that explain this (or at least cover the concept of cost)<br/> <br/> Section 8. It would be more useful if the index had page numbers (for use when the document is printed).<br/> <br/> <br/>Wed, 21 Oct 2009 15:08:38 Z2009-10-22T14:24:25Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/c8043afd-1f00-473a-af10-831ef83d96fahttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/c8043afd-1f00-473a-af10-831ef83d96faliezl123http://social.msdn.microsoft.com/Profile/en-US/?user=liezl123Download Attachment From Exchange server using WebdavHi All,<br/><br/>I'm getting below error while trying to download attachments from exchange server. Attached is my code.<br/><br/>The remote server returned an error: (400) Bad Request.<br/> <pre>using System; using System.Collections.Generic; using System.Text; using System.Net; namespace ExchangeTest { public class WebDAV { public static class Authentications { public const string ANONYMOUS = &quot;ANONYMOUS&quot;; public const string BASIC = &quot;BASIC&quot;; public const string DIGEST = &quot;DIGEST&quot;; public const string NTLM = &quot;NTLM&quot;; public const string NEGOTIATE = &quot;NEGOTIATE&quot;; public const string PASSPORT = &quot;PASSPORT&quot;; } public static class Methods { public const string BCOPY = &quot;BCOPY&quot;; public const string BDELETE = &quot;BDELETE&quot;; public const string BMOVE = &quot;BMOVE&quot;; public const string BPROPFIND = &quot;BPROPFIND&quot;; public const string BPROPPATCH = &quot;BPROPPATCH&quot;; public const string COPY = &quot;COPY&quot;; public const string DELETE = &quot;DELETE&quot;; public const string LOCK = &quot;LOCK&quot;; public const string MKCOL = &quot;MKCOL&quot;; public const string MOVE = &quot;MOVE&quot;; public const string NOTIFY = &quot;NOTIFY&quot;; public const string POLL = &quot;POLL&quot;; public const string PROPFIND = &quot;PROPFIND&quot;; public const string PROPPATCH = &quot;PROPPATCH&quot;; public const string SEARCH = &quot;SEARCH&quot;; public const string SUBSCRIBE = &quot;SUBSCRIBE&quot;; public const string UNLOCK = &quot;UNLOCK&quot;; public const string UNSUBSCRIBE = &quot;UNSUBSCRIBE&quot;; public const string X_MS_ENUMATTS = &quot;X-MS-ENUMATTS&quot;; } public const string CONTENT_TYPE_TEXT_XML = &quot;text/xml&quot;; public const string NS_DAV = &quot;DAV:&quot;; public const string PR_DAV_SEARCHREQUEST = &quot;searchrequest&quot;; public const string PR_DAV_SQL = &quot;sql&quot;; public const string PR_DAV_PROPFIND = &quot;propfind&quot;; public const string PR_DAV_PROP = &quot;prop&quot;; public const string PR_DAV_PROPERTYUPDATE = &quot;propertyupdate&quot;; public const string PR_DAV_SET = &quot;set&quot;; public const string PR_DAV_HREF = &quot;href&quot;; public const string PR_DAV_PROPSTAT = &quot;propstat&quot;; public const string PR_DAV_STATUS = &quot;status&quot;; public const string PR_DAV_RESPONSE = &quot;response&quot;; public const string NS_HTTPMAIL = &quot;urn:schemas:httpmail:&quot;; public const string PR_HTTPMAIL_DATE = &quot;date&quot;; public const string PR_HTTPMAIL_SUBJECT = &quot;subject&quot;; public const string PR_HTTPMAIL_FROM = &quot;from&quot;; public const string PR_HTTPMAIL_TO = &quot;to&quot;; public const string PR_HTTPMAIL_READ = &quot;read&quot;; public const string PR_HTTPMAIL_HASATTACHMENT = &quot;hasattachment&quot;; public const string PR_HTTPMAIL_ATTACHMENTFILENAME = &quot;attachmentfilename&quot;; public const string PR_HTTPMAIL_TEXTDESCRIPTION = &quot;textdescription&quot;; public System.Net.ICredentials Credentials; public System.Xml.XmlDocument Search(System.Uri uri, string query) { System.IO.MemoryStream ms = new System.IO.MemoryStream(); System.Xml.XmlTextWriter writer = new System.Xml.XmlTextWriter(ms, null); writer.WriteStartDocument(); writer.WriteStartElement(PR_DAV_SEARCHREQUEST, NS_DAV); writer.WriteStartElement(PR_DAV_SQL, NS_DAV); writer.WriteValue(query); writer.WriteEndElement(); writer.WriteEndElement(); writer.WriteEndDocument(); writer.Close(); writer = null; byte[] data = ms.ToArray(); ms.Close(); ms = null; return GetXmlResponse(uri, Methods.SEARCH, data); } public System.Xml.XmlDocument PropFind(System.Uri uri, string localname, string ns) { System.IO.MemoryStream ms = new System.IO.MemoryStream(); System.Xml.XmlTextWriter writer = new System.Xml.XmlTextWriter(ms, null); writer.WriteStartDocument(); writer.WriteStartElement(PR_DAV_PROPFIND, NS_DAV); writer.WriteStartElement(PR_DAV_PROP, NS_DAV); writer.WriteStartElement(localname, ns); writer.WriteEndElement(); writer.WriteEndElement(); writer.WriteEndElement(); writer.WriteEndDocument(); writer.Close(); writer = null; byte[] data = ms.ToArray(); ms.Close(); ms = null; return GetXmlResponse(uri, Methods.SEARCH, data); } public void Delete(System.Uri uri) { GetEmptyResponse(uri, Methods.DELETE, null); } public System.Xml.XmlDocument PropPatch(System.Uri uri, string localname, string ns, object value) { System.IO.MemoryStream ms = new System.IO.MemoryStream(); System.Xml.XmlTextWriter writer = new System.Xml.XmlTextWriter(ms, null); writer.WriteStartDocument(); writer.WriteStartElement(PR_DAV_PROPERTYUPDATE, NS_DAV); writer.WriteStartElement(PR_DAV_SET, NS_DAV); writer.WriteStartElement(PR_DAV_PROP, NS_DAV); writer.WriteStartElement(localname, ns); writer.WriteValue(value); writer.WriteEndElement(); writer.WriteEndElement(); writer.WriteEndDocument(); writer.Close(); writer = null; byte[] data = ms.ToArray(); ms.Close(); ms = null; return GetXmlResponse(uri, Methods.PROPPATCH, data); } public System.Xml.XmlDocument EnumAtts(System.Uri uri) { return GetXmlResponse(uri, Methods.X_MS_ENUMATTS, null); } private string GetHtmlResponse(System.Uri uri, string method, byte[] data) { System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(uri); request.Credentials = new NetworkCredential(&quot;s2\\liezl.marcos&quot;, &quot;Unilever.123@&quot;); request.Method = method; if (data != null) { string xml = System.Text.Encoding.UTF8.GetString(data); request.ContentType = CONTENT_TYPE_TEXT_XML; request.ContentLength = data.Length; System.IO.Stream requestStream = request.GetRequestStream(); requestStream.Write(data, 0, data.Length); requestStream.Close(); } System.Net.HttpWebResponse response = (System.Net.HttpWebResponse)request.GetResponse(); System.IO.Stream responseStream = response.GetResponseStream(); System.IO.MemoryStream memoryStream = new System.IO.MemoryStream(); int length = 8192; byte[] buffer = new byte[length]; int count = responseStream.Read(buffer, 0, length); while (count &gt; 0) { memoryStream.Write(buffer, 0, count); count = responseStream.Read(buffer, 0, length); } buffer = memoryStream.ToArray(); memoryStream.Close(); responseStream.Close(); response.Close(); return System.Text.Encoding.UTF8.GetString(buffer); } private void GetEmptyResponse(System.Uri uri, string method, byte[] data) { System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(uri); request.Credentials = new NetworkCredential(&quot;s2\\liezl.marcos&quot;, &quot;Unilever.123@&quot;); request.Method = method; if (data != null) { string xml = System.Text.Encoding.UTF8.GetString(data); request.ContentType = CONTENT_TYPE_TEXT_XML; request.ContentLength = data.Length; System.IO.Stream requestStream = request.GetRequestStream(); requestStream.Write(data, 0, data.Length); requestStream.Close(); } System.Net.HttpWebResponse response = (System.Net.HttpWebResponse)request.GetResponse(); response.Close(); } private System.Xml.XmlDocument GetXmlResponse(System.Uri uri, string method, byte[] data) { System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(uri); request.Credentials = new NetworkCredential(&quot;s2\\liezl.marcos&quot;, &quot;Unilever.123@&quot;); request.Method = method; if (data != null) { string xml = System.Text.Encoding.UTF8.GetString(data); request.ContentType = CONTENT_TYPE_TEXT_XML; request.ContentLength = data.Length; System.IO.Stream requestStream = request.GetRequestStream(); requestStream.Write(data, 0, data.Length); requestStream.Close(); } System.Net.HttpWebResponse response = (System.Net.HttpWebResponse)request.GetResponse(); System.IO.Stream responseStream = response.GetResponseStream(); System.Xml.XmlDocument document = new System.Xml.XmlDocument(); document.Load(responseStream); responseStream.Close(); response.Close(); return document; } } public class ExchangeDownloader { public string Username; public string Domain; public string Password; public string MailboxUrl; public string DownloadPath; public void Download() { System.Uri mailboxUri = new System.Uri(MailboxUrl); System.Net.NetworkCredential credential = new System.Net.NetworkCredential(Username, Password); WebDAV webdav = new WebDAV(); System.Net.CredentialCache credentials = new System.Net.CredentialCache(); credentials.Add(mailboxUri, WebDAV.Authentications.NTLM, credential); webdav.Credentials = credentials; System.Uri[] messageUris = getMessagesWithAttachments(webdav, mailboxUri); foreach (System.Uri messageUri in messageUris) { System.Uri[] attachmentUris = getAttachments(webdav, messageUri); foreach (System.Uri attachmentUri in attachmentUris) { downloadAttachment(webdav, attachmentUri); } webdav.PropPatch(messageUri, WebDAV.PR_HTTPMAIL_READ, WebDAV.NS_HTTPMAIL, &quot;1&quot;); } } private void downloadAttachment(WebDAV webdav, System.Uri uri) { System.Net.WebClient webClient = new System.Net.WebClient(); webClient.Credentials = new NetworkCredential(&quot;s2\\liezl.marcos&quot;, &quot;Unilever.123@&quot;); string file = System.IO.Path.GetFileName(uri.AbsolutePath); string filename = System.IO.Path.Combine(DownloadPath, file); webClient.DownloadFile(uri, filename); } private System.Uri[] getAttachments(WebDAV webdav, System.Uri uri) { System.Collections.ArrayList attachmentList = new System.Collections.ArrayList(); System.Xml.XmlDocument document = webdav.EnumAtts(uri); System.Xml.XmlNodeList responseElements = document.GetElementsByTagName(WebDAV.PR_DAV_RESPONSE, WebDAV.NS_DAV); foreach (System.Xml.XmlElement responseElement in responseElements) { System.Xml.XmlElement hrefElement = responseElement[WebDAV.PR_DAV_HREF, WebDAV.NS_DAV]; System.Uri href = new System.Uri(hrefElement.InnerText); attachmentList.Add(href); } return (System.Uri[])attachmentList.ToArray(typeof(System.Uri)); } private System.Uri[] getMessagesWithAttachments(WebDAV webdav, System.Uri uri) { System.Collections.ArrayList messageList = new System.Collections.ArrayList(); string query = string.Format( &quot;SELECT \&quot;urn:schemas:httpmail:subject\&quot; &quot; + &quot;FROM \&quot;{0}\&quot; &quot; + &quot;WHERE \&quot;urn:schemas:httpmail:hasattachment\&quot;=true &quot; + &quot;ORDER BY \&quot;urn:schemas:httpmail:date DESC\&quot;&quot; , uri); System.Xml.XmlDocument document = webdav.Search(uri, query); System.Xml.XmlNodeList responseElements = document.GetElementsByTagName(WebDAV.PR_DAV_RESPONSE, WebDAV.NS_DAV); foreach (System.Xml.XmlElement responseElement in responseElements) { System.Xml.XmlElement hrefElement = responseElement[WebDAV.PR_DAV_HREF, WebDAV.NS_DAV]; System.Uri href = new System.Uri(hrefElement.InnerText); messageList.Add(href); } return (System.Uri[])messageList.ToArray(typeof(System.Uri)); } } static class Program { static void Main() { ExchangeDownloader exchangeDownloader = new ExchangeDownloader(); exchangeDownloader.Username = &quot;username&quot;; exchangeDownloader.Domain = &quot;&quot;; exchangeDownloader.Password = &quot;password exchangeDownloader.MailboxUrl = &quot;http://servername/exchange/alias/inbox&quot;; exchangeDownloader.DownloadPath = &quot;C:\\Downloads&quot;; exchangeDownloader.Download(); } } } </pre> <br/>Please help... Thanks...<br/><br/>The remote server returned an error: (400) Bad Request.<br/><br/><span style="font-size:x-small"> <p> </p> <div style="color:black;background-color:white"> <pre><span style="color:blue">using</span> System; <span style="color:blue">using</span> System.Collections.Generic; <span style="color:blue">using</span> System.Text; <span style="color:blue">using</span> System.Net; <span style="color:blue">namespace</span> ExchangeTest { <span style="color:blue">public</span> <span style="color:blue">class</span> WebDAV { <span style="color:blue">public</span> <span style="color:blue">static</span> <span style="color:blue">class</span> Authentications { <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> ANONYMOUS = <span style="color:#a31515">&quot;ANONYMOUS&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> BASIC = <span style="color:#a31515">&quot;BASIC&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> DIGEST = <span style="color:#a31515">&quot;DIGEST&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> NTLM = <span style="color:#a31515">&quot;NTLM&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> NEGOTIATE = <span style="color:#a31515">&quot;NEGOTIATE&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PASSPORT = <span style="color:#a31515">&quot;PASSPORT&quot;</span>; } <span style="color:blue">public</span> <span style="color:blue">static</span> <span style="color:blue">class</span> Methods { <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> BCOPY = <span style="color:#a31515">&quot;BCOPY&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> BDELETE = <span style="color:#a31515">&quot;BDELETE&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> BMOVE = <span style="color:#a31515">&quot;BMOVE&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> BPROPFIND = <span style="color:#a31515">&quot;BPROPFIND&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> BPROPPATCH = <span style="color:#a31515">&quot;BPROPPATCH&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> COPY = <span style="color:#a31515">&quot;COPY&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> DELETE = <span style="color:#a31515">&quot;DELETE&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> LOCK = <span style="color:#a31515">&quot;LOCK&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> MKCOL = <span style="color:#a31515">&quot;MKCOL&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> MOVE = <span style="color:#a31515">&quot;MOVE&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> NOTIFY = <span style="color:#a31515">&quot;NOTIFY&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> POLL = <span style="color:#a31515">&quot;POLL&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PROPFIND = <span style="color:#a31515">&quot;PROPFIND&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PROPPATCH = <span style="color:#a31515">&quot;PROPPATCH&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> SEARCH = <span style="color:#a31515">&quot;SEARCH&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> SUBSCRIBE = <span style="color:#a31515">&quot;SUBSCRIBE&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> UNLOCK = <span style="color:#a31515">&quot;UNLOCK&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> UNSUBSCRIBE = <span style="color:#a31515">&quot;UNSUBSCRIBE&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> X_MS_ENUMATTS = <span style="color:#a31515">&quot;X-MS-ENUMATTS&quot;</span>; } <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> CONTENT_TYPE_TEXT_XML = <span style="color:#a31515">&quot;text/xml&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> NS_DAV = <span style="color:#a31515">&quot;DAV:&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_DAV_SEARCHREQUEST = <span style="color:#a31515">&quot;searchrequest&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_DAV_SQL = <span style="color:#a31515">&quot;sql&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_DAV_PROPFIND = <span style="color:#a31515">&quot;propfind&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_DAV_PROP = <span style="color:#a31515">&quot;prop&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_DAV_PROPERTYUPDATE = <span style="color:#a31515">&quot;propertyupdate&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_DAV_SET = <span style="color:#a31515">&quot;set&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_DAV_HREF = <span style="color:#a31515">&quot;href&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_DAV_PROPSTAT = <span style="color:#a31515">&quot;propstat&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_DAV_STATUS = <span style="color:#a31515">&quot;status&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_DAV_RESPONSE = <span style="color:#a31515">&quot;response&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> NS_HTTPMAIL = <span style="color:#a31515">&quot;urn:schemas:httpmail:&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_HTTPMAIL_DATE = <span style="color:#a31515">&quot;date&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_HTTPMAIL_SUBJECT = <span style="color:#a31515">&quot;subject&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_HTTPMAIL_FROM = <span style="color:#a31515">&quot;from&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_HTTPMAIL_TO = <span style="color:#a31515">&quot;to&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_HTTPMAIL_READ = <span style="color:#a31515">&quot;read&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_HTTPMAIL_HASATTACHMENT = <span style="color:#a31515">&quot;hasattachment&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_HTTPMAIL_ATTACHMENTFILENAME = <span style="color:#a31515">&quot;attachmentfilename&quot;</span>; <span style="color:blue">public</span> <span style="color:blue">const</span> <span style="color:blue">string</span> PR_HTTPMAIL_TEXTDESCRIPTION = <span style="color:#a31515">&quot;textdescription&quot;</span>; <span style="color:blue">public</span> System.Net.ICredentials Credentials; <span style="color:blue">public</span> System.Xml.XmlDocument Search(System.Uri uri, <span style="color:blue">string</span> query) { System.IO.MemoryStream ms = <span style="color:blue">new</span> System.IO.MemoryStream(); System.Xml.XmlTextWriter writer = <span style="color:blue">new</span> System.Xml.XmlTextWriter(ms, <span style="color:blue">null</span>); writer.WriteStartDocument(); writer.WriteStartElement(PR_DAV_SEARCHREQUEST, NS_DAV); writer.WriteStartElement(PR_DAV_SQL, NS_DAV); writer.WriteValue(query); writer.WriteEndElement(); writer.WriteEndElement(); writer.WriteEndDocument(); writer.Close(); writer = <span style="color:blue">null</span>; <span style="color:blue">byte</span>[] data = ms.ToArray(); ms.Close(); ms = <span style="color:blue">null</span>; <span style="color:blue">return</span> GetXmlResponse(uri, Methods.SEARCH, data); } <span style="color:blue">public</span> System.Xml.XmlDocument PropFind(System.Uri uri, <span style="color:blue">string</span> localname, <span style="color:blue">string</span> ns) { System.IO.MemoryStream ms = <span style="color:blue">new</span> System.IO.MemoryStream(); System.Xml.XmlTextWriter writer = <span style="color:blue">new</span> System.Xml.XmlTextWriter(ms, <span style="color:blue">null</span>); writer.WriteStartDocument(); writer.WriteStartElement(PR_DAV_PROPFIND, NS_DAV); writer.WriteStartElement(PR_DAV_PROP, NS_DAV); writer.WriteStartElement(localname, ns); writer.WriteEndElement(); writer.WriteEndElement(); writer.WriteEndElement(); writer.WriteEndDocument(); writer.Close(); writer = <span style="color:blue">null</span>; <span style="color:blue">byte</span>[] data = ms.ToArray(); ms.Close(); ms = <span style="color:blue">null</span>; <span style="color:blue">return</span> GetXmlResponse(uri, Methods.SEARCH, data); } <span style="color:blue">public</span> <span style="color:blue">void</span> Delete(System.Uri uri) { GetEmptyResponse(uri, Methods.DELETE, <span style="color:blue">null</span>); } <span style="color:blue">public</span> System.Xml.XmlDocument PropPatch(System.Uri uri, <span style="color:blue">string</span> localname, <span style="color:blue">string</span> ns, <span style="color:blue">object</span> value) { System.IO.MemoryStream ms = <span style="color:blue">new</span> System.IO.MemoryStream(); System.Xml.XmlTextWriter writer = <span style="color:blue">new</span> System.Xml.XmlTextWriter(ms, <span style="color:blue">null</span>); writer.WriteStartDocument(); writer.WriteStartElement(PR_DAV_PROPERTYUPDATE, NS_DAV); writer.WriteStartElement(PR_DAV_SET, NS_DAV); writer.WriteStartElement(PR_DAV_PROP, NS_DAV); writer.WriteStartElement(localname, ns); writer.WriteValue(value); writer.WriteEndElement(); writer.WriteEndElement(); writer.WriteEndDocument(); writer.Close(); writer = <span style="color:blue">null</span>; <span style="color:blue">byte</span>[] data = ms.ToArray(); ms.Close(); ms = <span style="color:blue">null</span>; <span style="color:blue">return</span> GetXmlResponse(uri, Methods.PROPPATCH, data); } <span style="color:blue">public</span> System.Xml.XmlDocument EnumAtts(System.Uri uri) { <span style="color:blue">return</span> GetXmlResponse(uri, Methods.X_MS_ENUMATTS, <span style="color:blue">null</span>); } <span style="color:blue">private</span> <span style="color:blue">string</span> GetHtmlResponse(System.Uri uri, <span style="color:blue">string</span> method, <span style="color:blue">byte</span>[] data) { System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(uri); request.Credentials = <span style="color:blue">new</span> NetworkCredential(<span style="color:#a31515">&quot;s2\\liezl.marcos&quot;</span>, <span style="color:#a31515">&quot;Unilever.123@&quot;</span>); request.Method = method; <span style="color:blue">if</span> (data != <span style="color:blue">null</span>) { <span style="color:blue">string</span> xml = System.Text.Encoding.UTF8.GetString(data); request.ContentType = CONTENT_TYPE_TEXT_XML; request.ContentLength = data.Length; System.IO.Stream requestStream = request.GetRequestStream(); requestStream.Write(data, 0, data.Length); requestStream.Close(); } System.Net.HttpWebResponse response = (System.Net.HttpWebResponse)request.GetResponse(); System.IO.Stream responseStream = response.GetResponseStream(); System.IO.MemoryStream memoryStream = <span style="color:blue">new</span> System.IO.MemoryStream(); <span style="color:blue">int</span> length = 8192; <span style="color:blue">byte</span>[] buffer = <span style="color:blue">new</span> <span style="color:blue">byte</span>[length]; <span style="color:blue">int</span> count = responseStream.Read(buffer, 0, length); <span style="color:blue">while</span> (count &gt; 0) { memoryStream.Write(buffer, 0, count); count = responseStream.Read(buffer, 0, length); } buffer = memoryStream.ToArray(); memoryStream.Close(); responseStream.Close(); response.Close(); <span style="color:blue">return</span> System.Text.Encoding.UTF8.GetString(buffer); } <span style="color:blue">private</span> <span style="color:blue">void</span> GetEmptyResponse(System.Uri uri, <span style="color:blue">string</span> method, <span style="color:blue">byte</span>[] data) { System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(uri); request.Credentials = <span style="color:blue">new</span> NetworkCredential(<span style="color:#a31515">&quot;s2\\liezl.marcos&quot;</span>, <span style="color:#a31515">&quot;Unilever.123@&quot;</span>); request.Method = method; <span style="color:blue">if</span> (data != <span style="color:blue">null</span>) { <span style="color:blue">string</span> xml = System.Text.Encoding.UTF8.GetString(data); request.ContentType = CONTENT_TYPE_TEXT_XML; request.ContentLength = data.Length; System.IO.Stream requestStream = request.GetRequestStream(); requestStream.Write(data, 0, data.Length); requestStream.Close(); } System.Net.HttpWebResponse response = (System.Net.HttpWebResponse)request.GetResponse(); response.Close(); } <span style="color:blue">private</span> System.Xml.XmlDocument GetXmlResponse(System.Uri uri, <span style="color:blue">string</span> method, <span style="color:blue">byte</span>[] data) { System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(uri); request.Credentials = <span style="color:blue">new</span> NetworkCredential(<span style="color:#a31515">&quot;s2\\liezl.marcos&quot;</span>, <span style="color:#a31515">&quot;Unilever.123@&quot;</span>); request.Method = method; <span style="color:blue">if</span> (data != <span style="color:blue">null</span>) { <span style="color:blue">string</span> xml = System.Text.Encoding.UTF8.GetString(data); request.ContentType = CONTENT_TYPE_TEXT_XML; request.ContentLength = data.Length; System.IO.Stream requestStream = request.GetRequestStream(); requestStream.Write(data, 0, data.Length); requestStream.Close(); } System.Net.HttpWebResponse response = (System.Net.HttpWebResponse)request.GetResponse(); System.IO.Stream responseStream = response.GetResponseStream(); System.Xml.XmlDocument document = <span style="color:blue">new</span> System.Xml.XmlDocument(); document.Load(responseStream); responseStream.Close(); response.Close(); <span style="color:blue">return</span> document; } } <span style="color:blue">public</span> <span style="color:blue">class</span> ExchangeDownloader { <span style="color:blue">public</span> <span style="color:blue">string</span> Username; <span style="color:blue">public</span> <span style="color:blue">string</span> Domain; <span style="color:blue">public</span> <span style="color:blue">string</span> Password; <span style="color:blue">public</span> <span style="color:blue">string</span> MailboxUrl; <span style="color:blue">public</span> <span style="color:blue">string</span> DownloadPath; <span style="color:blue">public</span> <span style="color:blue">void</span> Download() { System.Uri mailboxUri = <span style="color:blue">new</span> System.Uri(MailboxUrl); System.Net.NetworkCredential credential = <span style="color:blue">new</span> System.Net.NetworkCredential(Username, Password); WebDAV webdav = <span style="color:blue">new</span> WebDAV(); System.Net.CredentialCache credentials = <span style="color:blue">new</span> System.Net.CredentialCache(); credentials.Add(mailboxUri, WebDAV.Authentications.NTLM, credential); webdav.Credentials = credentials; System.Uri[] messageUris = getMessagesWithAttachments(webdav, mailboxUri); <span style="color:blue">foreach</span> (System.Uri messageUri <span style="color:blue">in</span> messageUris) { System.Uri[] attachmentUris = getAttachments(webdav, messageUri); <span style="color:blue">foreach</span> (System.Uri attachmentUri <span style="color:blue">in</span> attachmentUris) { downloadAttachment(webdav, attachmentUri); } webdav.PropPatch(messageUri, WebDAV.PR_HTTPMAIL_READ, WebDAV.NS_HTTPMAIL, <span style="color:#a31515">&quot;1&quot;</span>); } } <span style="color:blue">private</span> <span style="color:blue">void</span> downloadAttachment(WebDAV webdav, System.Uri uri) { System.Net.WebClient webClient = <span style="color:blue">new</span> System.Net.WebClient(); webClient.Credentials = <span style="color:blue">new</span> NetworkCredential(<span style="color:#a31515">&quot;s2\\liezl.marcos&quot;</span>, <span style="color:#a31515">&quot;Unilever.123@&quot;</span>); <span style="color:blue">string</span> file = System.IO.Path.GetFileName(uri.AbsolutePath); <span style="color:blue">string</span> filename = System.IO.Path.Combine(DownloadPath, file); webClient.DownloadFile(uri, filename); } <span style="color:blue">private</span> System.Uri[] getAttachments(WebDAV webdav, System.Uri uri) { System.Collections.ArrayList attachmentList = <span style="color:blue">new</span> System.Collections.ArrayList(); System.Xml.XmlDocument document = webdav.EnumAtts(uri); System.Xml.XmlNodeList responseElements = document.GetElementsByTagName(WebDAV.PR_DAV_RESPONSE, WebDAV.NS_DAV); <span style="color:blue">foreach</span> (System.Xml.XmlElement responseElement <span style="color:blue">in</span> responseElements) { System.Xml.XmlElement hrefElement = responseElement[WebDAV.PR_DAV_HREF, WebDAV.NS_DAV]; System.Uri href = <span style="color:blue">new</span> System.Uri(hrefElement.InnerText); attachmentList.Add(href); } <span style="color:blue">return</span> (System.Uri[])attachmentList.ToArray(<span style="color:blue">typeof</span>(System.Uri)); } <span style="color:blue">private</span> System.Uri[] getMessagesWithAttachments(WebDAV webdav, System.Uri uri) { System.Collections.ArrayList messageList = <span style="color:blue">new</span> System.Collections.ArrayList(); <span style="color:blue">string</span> query = <span style="color:blue">string</span>.Format( <span style="color:#a31515">&quot;SELECT \&quot;urn:schemas:httpmail:subject\&quot; &quot;</span> + <span style="color:#a31515">&quot;FROM \&quot;{0}\&quot; &quot;</span> + <span style="color:#a31515">&quot;WHERE \&quot;urn:schemas:httpmail:hasattachment\&quot;=true &quot;</span> + <span style="color:#a31515">&quot;ORDER BY \&quot;urn:schemas:httpmail:date DESC\&quot;&quot;</span> , uri); System.Xml.XmlDocument document = webdav.Search(uri, query); System.Xml.XmlNodeList responseElements = document.GetElementsByTagName(WebDAV.PR_DAV_RESPONSE, WebDAV.NS_DAV); <span style="color:blue">foreach</span> (System.Xml.XmlElement responseElement <span style="color:blue">in</span> responseElements) { System.Xml.XmlElement hrefElement = responseElement[WebDAV.PR_DAV_HREF, WebDAV.NS_DAV]; System.Uri href = <span style="color:blue">new</span> System.Uri(hrefElement.InnerText); messageList.Add(href); } <span style="color:blue">return</span> (System.Uri[])messageList.ToArray(<span style="color:blue">typeof</span>(System.Uri)); } } <span style="color:blue">static</span> <span style="color:blue">class</span> Program { <span style="color:blue">static</span> <span style="color:blue">void</span> Main() { ExchangeDownloader exchangeDownloader = <span style="color:blue">new</span> ExchangeDownloader(); exchangeDownloader.Username = <span style="color:#a31515">&quot;username&quot;</span>; exchangeDownloader.Domain = <span style="color:#a31515">&quot;&quot;</span>; exchangeDownloader.Password = &quot;password exchangeDownloader.MailboxUrl = <span style="color:#a31515">&quot;http://servername/exchange/alias/inbox&quot;</span>; exchangeDownloader.DownloadPath = <span style="color:#a31515">&quot;C:\\Downloads&quot;</span>; exchangeDownloader.Download(); } } } </pre> </div> </span>Mon, 19 Oct 2009 07:07:03 Z2009-10-19T15:34:47Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/7417521b-c172-42fa-99a9-adf90aca302ahttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/7417521b-c172-42fa-99a9-adf90aca302aBlackfieldhttp://social.msdn.microsoft.com/Profile/en-US/?user=Blackfield[MS-OXOCAL] - incorrect documentation?<p>From page 32, Period is allowed to be 0 (zero). <br />I believe this is incorrect since if you use&nbsp;zero to calculate FirstDateTime, you will get dividebyzero exception after you do modulus op.</p>Thu, 15 Oct 2009 20:44:05 Z2009-10-19T13:51:59Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/cce4e800-77c1-4004-b658-ac57c5a82ccehttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/cce4e800-77c1-4004-b658-ac57c5a82cceBingYuhttp://social.msdn.microsoft.com/Profile/en-US/?user=BingYuHow can I get Proposed time from AppointmentItem?<span style="font-size: x-small;"><font size="2"> <p>I am using Outlook.</p> </font></span> <p><span style="font-size: x-small; color: #2b91af;"><span style="font-size: x-small; color: #2b91af;">AppointmentItem <span style="color: #000000;">to get meeting info from Outlook.&nbsp;But I&nbsp;cannot find any info related to proposed&nbsp;time. How can I get Proposed time? Thanks</span></span></span></p>Wed, 14 Oct 2009 17:23:29 Z2009-10-16T20:24:01Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/8e5b7d1d-253e-46dc-98f7-d6aee3c51bf0http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/8e5b7d1d-253e-46dc-98f7-d6aee3c51bf0Viswanathan Vaidyanathanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Viswanathan%20VaidyanathanDoubts in [MS-OXORMMS]: Unprotecting an RMS enabled message.Hi, <div>I am developing an application that would decrypt an RMS enabled message. From the protocol document MS-OXORMMS i found that the message is compressed using a zlib algorithm. </div> <div>Based on the above document and some help from Microsoft i got hold of the following documentation page:</div> <div><a href="http://msdn.microsoft.com/en-us/library/aa767786(VS.85).aspx#compress_content">http://msdn.microsoft.com/en-us/library/aa767786(VS.85).aspx#compress_content</a></div> <div><br/></div> <div>What this page says is that if i need to compress a message/license, i need to first split the file into sets of 4096 bytes(the last set might have &lt;= 4096 bytes). The page then gives details on prefix/headers/length values that are added.</div> <div>When i apply a similar (but opposite) logic for decompression, i find only the first block decompressing properly. Even at that point zlib uncompression logic returns a Z_DATA_ERROR.</div> <div>The rest of the blocks do not decompress at all. As a result i am stuck in decompressing the RMS protected message.</div> <div><br/></div> <div>Further i find some trivial mistakes in this protocol document</div> <div>1. In the Appendix A, point 3 it claims to use a zlib version greater than 1.2.3, which is not present on zlib's home site and something i am still searching for. :)</div> <div><br/></div> <div>2. In section 3.1.4.2.1(pg 20) the first bullet talks of a section 3.1.4.1.4 which talks of the decompression logic(which i very badly need). However this section itself doesn't exist.</div> <div><br/></div> <div>Can someone help me on this?</div> <div>Viswa.</div>Tue, 04 Aug 2009 09:56:55 Z2009-10-14T04:15:41Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/010eaa0a-6b54-4b9a-a588-3ba5118780a0http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/010eaa0a-6b54-4b9a-a588-3ba5118780a0ZakletejTermixhttp://social.msdn.microsoft.com/Profile/en-US/?user=ZakletejTermixhow to move e-mail into specific folderHi,<br /> I need Event Sink and/or Transport Agent for Exch 2000/03/07/10, which could store email into specific user's mailbox folder (like junk folder - but generally, not by using SCL). Any help where to start?Tue, 13 Oct 2009 13:13:46 Z2009-10-13T19:54:31Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/253a2727-38ab-49ba-a44a-61cf8342231bhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/253a2727-38ab-49ba-a44a-61cf8342231bSandeep Aparajithttp://social.msdn.microsoft.com/Profile/en-US/?user=Sandeep%20AparajitExchange Server 2007: How to know whether an email (item) is fresh or a replay to conversation/email?I am using MS Exchange 2007 webservice to get the emails using GetItem() method. I want to check if an item (email) is a fresh email or it is a replay to some other email. <br/> How can I check this? Can I check if an email is a part of the conversation?<br/> <br/> PS: I am connecting directly to exchange server, I am NOT using outlook APIs. <br/> <br/> Thanks!<br/> Sandeep<hr class="sig">Sandeep Aparajit | <a href="http://aparajit.co.in" title="Sandeep's Home">Home</a> | <a href="http://sandeep-aparajit.blogspot.com" title="Sandeep Aparajit's Blog">My Blog</a> | <a href="http://photos.aparajit.co.in" title="Sandeep Aparajit's Photography">Photography</a> | Mark useful posts as Answer/Helpful.Wed, 16 Sep 2009 17:15:46 Z2009-10-13T17:08:18Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/978c8216-424d-4246-b525-7c979ef95a55http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/978c8216-424d-4246-b525-7c979ef95a55JacobHuanghttp://social.msdn.microsoft.com/Profile/en-US/?user=JacobHuangEcDoConnectEx throw an exception<p>I have create an RPC binding with the &quot;ncacn_ip_tcp&quot; and set the authentication with &quot;RPC_C_AUTHN_WINNT&quot;,filled all the parameters in the EcDoConnectEx function,then call the EcDoConnectEx function,then system throw a exception dialog, promt :&quot;Unhandled exception at 0x7c812afb in rcp3.exe: 0x000006B5: interface unknown&quot;. below is the code:<br/><br/>{//begin<br/> RPC_STATUS status;<br/> unsigned short *StringBinding;<br/> RPC_BINDING_HANDLE BindingHandle;</p> <p> TCHAR* protocolSequence = L&quot;ncacn_ip_tcp&quot;;<br/> TCHAR* serverDNS = L&quot;some.corp.com&quot;;<br/> TCHAR* enePoint = L&quot;135&quot;;</p> <p> TCHAR* objUuid = L&quot;A4F1DB00-CA47-1067-B31F-00DD010662DA&quot;;</p> <p> status = RpcStringBindingCompose((RPC_WSTR)objUuid,  // Object UUID<br/>  (RPC_WSTR)protocolSequence,           // Protocol sequence to use<br/>  (RPC_WSTR)serverDNS, // Server DNS or Netbios Name<br/>  (RPC_WSTR)enePoint,<br/>  NULL,<br/>  &amp;StringBinding);<br/> // Error checking ommitted. If no error, we proceed below<br/> status = RpcBindingFromStringBinding(StringBinding, &amp;BindingHandle);</p> <p><br/> TCHAR* wPrnName = NULL;<br/> RpcMgmtInqServerPrincName( BindingHandle, RPC_C_AUTHN_WINNT, (RPC_WSTR*) &amp;wPrnName);</p> <p> SEC_WINNT_AUTH_IDENTITY sec;<br/> sec.Domain = (unsigned short*)L&quot;corp.com&quot;;            <br/> sec.DomainLength = 11;<br/> sec.Flags = SEC_WINNT_AUTH_IDENTITY_UNICODE;<br/> sec.Password = (unsigned short *)L&quot;myPwd&quot;;<br/> sec.PasswordLength = 8;<br/> sec.User = (unsigned short *)L&quot;myuserName&quot;;<br/> sec.UserLength = 10;</p> <p> if(RpcBindingSetAuthInfo(BindingHandle,(RPC_WSTR)wPrnName,RPC_C_AUTHN_LEVEL_PKT_PRIVACY,RPC_C_AUTHN_WINNT,(RPC_AUTH_IDENTITY_HANDLE)&amp;sec,RPC_C_AUTHN_NONE) != RPC_S_OK)<br/>  cout&lt;&lt;&quot;Set Auth Error!&quot;&lt;&lt;endl;</p> <p> CXH pcxh = NULL;<br/> unsigned char* szUserDN = (unsigned char*)&quot;/o=MS/ou=MS First/CN=Recipients/CN=someone&quot;;<br/> unsigned long ulFlags = 0x00000000;<br/> unsigned long ulConMod = emsmdb_hash((char*)szUserDN);<br/> unsigned long cbLimit = 0x00000000;<br/> unsigned long ulCpid = 0x000004E4; <br/> unsigned long ulLcidString = 0x00000409; <br/> unsigned long ulLcidSort = 0x00000409;  <br/> unsigned long ulIcxrLink = 0xFFFFFFFF;<br/> unsigned short usFCanConvertCodePages = 0x01;</p> <p><br/> unsigned long cmsPollsMax;<br/> unsigned long cRetry;<br/> unsigned long cmsRetryDalay;<br/> unsigned short icxr;<br/> unsigned char szDNPrefix[512];<br/> unsigned char szDisplayName[512];</p> <p> memset(szDisplayName,0,512);<br/> memset(szDNPrefix,0,512);</p> <p> unsigned short rgwClientVersion[3];<br/> rgwClientVersion[0] = 0x000c;<br/> rgwClientVersion[1] = 0x183e;<br/> rgwClientVersion[2] = 0x03e8;</p> <p> unsigned short rgwServerVersion[3];<br/> unsigned short rgwBestVersion[3];</p> <p> unsigned long ulTimeStamp = 0;</p> <p> unsigned char* rgbAuxIn = NULL;  <br/> unsigned long cbAuxIn = 0x00000000; </p> <p> unsigned char rgbAuxOut[0x1008];<br/> SMALL_RANGE_ULONG pcbAuxOut = 0x00001008; </p> <p> long retValue;<br/>etValue = EcDoConnectEx(BindingHandle,<br/>                                       &amp;pcxh,szUserDN,<br/>                                       ulFlags,ulConMod,<br/>                                       cbLimit,ulCpid,<br/>                                       ulLcidString,<br/>                                       ulLcidSort,ulIcxrLink,<br/>                                       usFCanConvertCodePages,<br/>                                       &amp;cmsPollsMax,&amp;cRetry,<br/>                                       &amp;cmsRetryDalay,<br/>                                       &amp;icxr,(unsigned char**)&amp;szDNPrefix,<br/>                                       (unsigned char**)&amp;szDisplayName,<br/>                                       rgwClientVersion,rgwServerVersion,<br/>                                       rgwBestVersion,&amp;ulTimeStamp,<br/>                                       rgbAuxIn,cbAuxIn,rgbAuxOut,&amp;pcbAuxOut)</p> <p><br/> RpcBindingFree(&amp;BindingHandle);<br/> RpcStringFree(&amp;StringBinding);<br/> return 0;<br/>}//end of the code<br/><br/><br/>Almost  all the parameter value is copy from the example of the exchange protocol document [MS-OXCRPC]4.1,all the server name and the username is sure to be right,and I compile the idl(in the [MS-OXCRPC]section 6)with the Visual Studio 2005,the code above is also in the enviroment with VS2005.<br/><br/>Could anyone tell me why I can't receive a response from the server,rather than an annoying exception?thank you!</p>Fri, 25 Sep 2009 12:39:28 Z2009-10-13T01:42:09Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/a3eb064f-dd23-4574-8cd0-e4b71b7015e2http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/a3eb064f-dd23-4574-8cd0-e4b71b7015e2JacobHuanghttp://social.msdn.microsoft.com/Profile/en-US/?user=JacobHuang[MS-OXCRPC] how to designate a RPC binding handle with RPC_C_AUTHN_WINNT<p>In the question &quot;<a href="http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/978c8216-424d-4246-b525-7c979ef95a55"><span style="color:#0033cc">EcDoConnectEx throw an exception</span></a>&quot;,when I call the interface EcDoConnectEx, the server throw a 1717(the interface is unknown) exception.<br/><br/>I have captured the data packets when the Outlook 2003 connected to the Exchange server and my program conected to the exchange server,and compared them.<br/>I have found that on the [bind] and [bind_ack] data packets,which is the fourth packet,after 3 tcp/ip packet. The Outlook Info is <strong>Bind:called id:1 uuid:EPM</strong>,however,my program Info is <strong>Bind:called id:1 uuid:Mgmt,</strong> I guess it is the reason that my program failed, because the authentication method I designate may be incorrect.<br/><br/>In the document [MS-OXCRPC] said:&quot;Client creates an <a href="http://msdn.microsoft.com/en-us/library/ee200574.aspx#remote_procedure_call"><span style="color:#0033cc">RPC</span></a> binding handle to the server with the &quot;ncacn_ip_tcp&quot; protocol sequence and the RPC_C_AUTHN_WINNT authentication method.&quot;<br/><br/>I am a Novice in this area, could anyone tell me how to designate the authentication method, along with which interfaces to call is better. To generate data packet which is identical to the Outlook's.<br/>Thank you in advanced!<br/><br/><br/> The code I used to set the authentication is below:<br/>{// code bigen<br/>//after call to RpcStringBindingCompose() and RpcBindingFromStringBinding()<br/><br/> TCHAR* wPrnName = NULL;<br/> RpcMgmtInqServerPrincName( BindingHandle, RPC_C_AUTHN_WINNT, (RPC_WSTR*) &amp;wPrnName);<br/><br/> SEC_WINNT_AUTH_IDENTITY sec;<br/> sec.Domain = (unsigned short*)L&quot;corp.com&quot;;   //domain<br/> sec.DomainLength = 11;<br/> sec.Flags = SEC_WINNT_AUTH_IDENTITY_UNICODE;<br/> sec.Password = (unsigned short *)L&quot;_88hhuu&quot;;   //pawword<br/> sec.PasswordLength = 8;<br/> sec.User = (unsigned short *)L&quot;jacob&quot;;    //user name<br/> sec.UserLength = 10;</p> <p>RpcBindingSetAuthInfo(BindingHandle,<br/>                                 (RPC_WSTR)wPrnName,<br/>                                 RPC_C_AUTHN_LEVEL_PKT_PRIVACY,<br/>                                 RPC_C_AUTHN_WINNT, <br/>                                 (RPC_AUTH_IDENTITY_HANDLE)&amp;sec,<br/>                                 RPC_C_AUTHN_NONE);  <br/>}// code end<br/><br/>//the deveploment tool is Visual Studio 2005, WinXP SP3</p>Tue, 29 Sep 2009 06:50:48 Z2009-10-13T01:40:46Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/7b3eb69a-ee6f-4bdc-bfba-1399ea81512dhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/7b3eb69a-ee6f-4bdc-bfba-1399ea81512dGian Marcohttp://social.msdn.microsoft.com/Profile/en-US/?user=Gian%20MarcoHow to obtain outlook appointments in c++Hi guys<br /><br />in the software I'm developing in c++ I want to obtain all the appointments of a specific calendar. In detail, I have a path to a calendar (for example Personal folders\Calendar\My calendar) and I want the software returns all the appointments contained in it. <br />I tried to search in Internet but all the guides I've found describes how to save an appointment in Outlook not how to obtain it. Any idea on how I can do this?<br /><br />ThanksMon, 05 Oct 2009 10:11:03 Z2009-10-16T20:25:33Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/4fafad72-9d5a-4410-b617-fb6f38fc34f0http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/4fafad72-9d5a-4410-b617-fb6f38fc34f0jayesh_2605http://social.msdn.microsoft.com/Profile/en-US/?user=jayesh_2605Functions not working for exchange 2010Hi,<br /><br />&nbsp;&nbsp;&nbsp; Are there any other functions (equivalent to&nbsp;below functions) which can be used to get mailbox and public folder details in exchange 2010?<br /><br /> <p class="MsoNormal" style="margin: 0in 0in 0pt;"><strong style="mso-bidi-font-weight: normal;"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><span style="font-size: small;">HrOpenExchangePrivateStore </span></span></strong></p> <p class="MsoNormal" style="margin: 0in 0in 0pt;"><strong style="mso-bidi-font-weight: normal;"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><span style="font-size: small;">HrOpenExchangePublicFolders</span></span></strong></p> <p class="MsoNormal" style="margin: 0in 0in 0pt;"><strong style="mso-bidi-font-weight: normal;"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><span style="font-size: small;">HrOpenExchangePublicStore</span></span></strong></p> <p class="MsoNormal" style="margin: 0in 0in 0pt;"><strong style="mso-bidi-font-weight: normal;"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><span style="font-size: small;">HrOpenExchangePrivateStore </span></span></strong></p> <p class="MsoNormal" style="margin: 0in 0in 0pt;"><strong style="mso-bidi-font-weight: normal;"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><span style="font-size: small;">HrOpenExchangePublicFolders</span></span></strong></p> <p class="MsoNormal" style="margin: 0in 0in 0pt;"><strong style="mso-bidi-font-weight: normal;"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><span style="font-size: small;">HrOpenExchangePublicStore </span></span></strong></p> <p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><span style="font-size: small;"><strong>HrGetMailboxDN <br /><br /></strong>Regards,<br />Jayesh Sharma</span></span></p>Mon, 05 Oct 2009 10:22:20 Z2009-10-16T20:25:08Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/22863482-04af-44ee-98f7-6714fa8f38e1http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/22863482-04af-44ee-98f7-6714fa8f38e1Brad Hardshttp://social.msdn.microsoft.com/Profile/en-US/?user=Brad%20Hards[MS-OXCDATA] Typo in Section 3.1MS-OXCDATA Section 3.1 states:<br /> A Restriction of the type AndRestrictiofn with the following two sub-clauses:<br /> <br /> Typo in &quot;AndRestriction&quot;.<br /> <br /> Brad<br /> <br />Fri, 02 Oct 2009 05:57:29 Z2009-10-02T18:00:09Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/b1b64066-01cf-4643-8346-780d1f2b2205http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/b1b64066-01cf-4643-8346-780d1f2b2205jmontanahttp://social.msdn.microsoft.com/Profile/en-US/?user=jmontanaGlobalObjectID length?I'm hoping this is the right forum.<br/> <br/> I'm finding conflicting information on the GlobalObjectId field. One page indicates it has a maximum length of 100, but that it is customizable. Another says that the maximum length is 300.<br/> <br/> I need to persist this value to a database, so I need to know how big the field should be. In my initial testing, it was never more than about 100 characters, but a customer is getting lengths &gt; 200.<br/> <br/> I'm using Exchange 2007 &amp; Outlook 2003 SP2, but I'd like to know what the max lengths are for the various versions of Exchange and Outlook, so we can decide which we will support.<br/> <br/> Thanks,<br/> JonThu, 03 Sep 2009 13:18:02 Z2009-09-30T16:49:17Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/98e5d3f4-0712-4892-9ece-fa6533ebe682http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/98e5d3f4-0712-4892-9ece-fa6533ebe682Nicholas Chienhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nicholas%20ChienAre MIMESupport and MIMETruncation tag not available in protocol 2.0?to dear ActiveSync developers,<br/><br/>Are the &quot;MIMESupport&quot; and &quot;MIMETruncation&quot; tags not available in the Exchange server which supports only protocol version 2.0? I found that if I put these two tags in the request XML in the Options section of Sync command, it will be responsed with error code 4 which stands for the syntax error.<br/><br/>If there has no these two tags in protocol version 2.0, does this mean there does not support MIME format in protocol version 2.0? or is there some other ways to retrieve it?<br/><br/>Thanks for your generous help<br/><br/>Best regards,<br/>NicholasTue, 15 Sep 2009 09:28:41 Z2009-09-28T15:23:20Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/6c5e84b4-9e70-42e0-b570-d79260be0879http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/6c5e84b4-9e70-42e0-b570-d79260be0879Tomlinschttp://social.msdn.microsoft.com/Profile/en-US/?user=TomlinscSet Cluster Resource PendingTimeout via VBScriptAttempting to change the PendingTimeout value for all cluster resources for Exchange2k7 on x64 Server 2003.  The PendingTimeout value will change to the correct value, but only until script execution has been completed.  Than it reverts back to previous value.<br/> <br/> intTimeOut = 600000<br/> Set colItems = objWMIService.ExecQuery(&quot;Select Name,PendingTimeout from MSCluster_Resource&quot;)<br/> For Each objItem in colItems<br/>      If objItem.PendingTimeout = &quot;180000&quot; Then<br/>           objItem.PendingTimeout = intTimeOut<br/>           **CommitChange?**<br/>      End If<br/> Next<br/> <br/> Does anyone have any insight on how to preserve the value following script completion?Fri, 25 Sep 2009 21:29:52 Z2009-09-28T16:27:45Z