3

是否可以在一次“syncFolderItems”操作中监控多个文件夹?我试过了,但它似乎不起作用。例如,这个:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
  <soap:Body>
    <SyncFolderItems xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
      <ItemShape>
        <t:BaseShape>Default</t:BaseShape>
      </ItemShape>
      <SyncFolderId>           
 <t:DistinguishedFolderId Id="drafts"/>
 <t:DistinguishedFolderId Id="inbox"/>


 </SyncFolderId>

      <MaxChangesReturned>500</MaxChangesReturned>
    </SyncFolderItems>
  </soap:Body>
</soap:Envelope>

不工作:(

可能吗?谢谢 :)

4

1 回答 1

2

我知道这是一个非常古老的问题,但是对于其他用户来说仍然很重要,所以我正在回答。
不,不可能
SyncFolderId 可以有一个子标签 FolderID 或 DistinguishedFolderID

<SyncFolderId>
   <FolderId/>
</SyncFolderId>

<SyncFolderId>
   <DistinguishedFolderId/>
</SyncFolderId>

参考链接http://msdn.microsoft.com/en-us/library/exchange/aa580296%28v=exchg.80%29.aspx

于 2013-07-17T15:01:34.217 回答