Soap Exchange 2010 EWS:是否使用XML检索邮件的星号状态?

Soap Exchange 2010 EWS:是否使用XML检索邮件的星号状态?,soap,exchange-server,exchange-server-2010,Soap,Exchange Server,Exchange Server 2010,我不得不使用XMLSOAP请求来获取和设置使用Exchange2010 EWS的邮件的星号状态 如何获取邮件的“星号”或“收藏夹”状态?设置它也会很好 以下内容将使用适用于EWS 2010的XML返回消息的星号状态: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3

我不得不使用XMLSOAP请求来获取和设置使用Exchange2010 EWS的邮件的星号状态


如何获取邮件的“星号”或“收藏夹”状态?设置它也会很好

以下内容将使用适用于EWS 2010的XML返回消息的星号状态:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
  <soap:Header>
    <t:RequestServerVersion Version="Exchange2010" />
  </soap:Header>
  <soap:Body>
    <GetItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
      <ItemShape>
        <t:BaseShape>Default</t:BaseShape>
        <t:IncludeMimeContent>true</t:IncludeMimeContent>
        <t:AdditionalProperties>
          <t:FieldURI FieldURI="item:Subject" />
          <t:ExtendedFieldURI PropertyTag="0x1090" PropertyType="Integer"/>
        </t:AdditionalProperties>
      </ItemShape>
      <ItemIds>
        <t:ItemId Id="AAMkADg5MmFjNTViLTYwODUtNGNmYi04MzhjLTczZTdkOTZmYjllNwBGAAAAAABFQx5qtI0+R7P3jIlj8lBrBwCGvs35WFEvTaNeDfAlU93XAAAAFfBdAACGvs35WFEvTaNeDfAlU93XAAAAF4LGAAA=" ChangeKey="CQAAABYAAACGvs35WFEvTaNeDfAlU93XAAAAF+bq"/>
      </ItemIds>
    </GetItem>
  </soap:Body>
</soap:Envelope>

违约
真的

以下内容将使用适用于EWS 2010的XML返回消息的星号状态:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
  <soap:Header>
    <t:RequestServerVersion Version="Exchange2010" />
  </soap:Header>
  <soap:Body>
    <GetItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
      <ItemShape>
        <t:BaseShape>Default</t:BaseShape>
        <t:IncludeMimeContent>true</t:IncludeMimeContent>
        <t:AdditionalProperties>
          <t:FieldURI FieldURI="item:Subject" />
          <t:ExtendedFieldURI PropertyTag="0x1090" PropertyType="Integer"/>
        </t:AdditionalProperties>
      </ItemShape>
      <ItemIds>
        <t:ItemId Id="AAMkADg5MmFjNTViLTYwODUtNGNmYi04MzhjLTczZTdkOTZmYjllNwBGAAAAAABFQx5qtI0+R7P3jIlj8lBrBwCGvs35WFEvTaNeDfAlU93XAAAAFfBdAACGvs35WFEvTaNeDfAlU93XAAAAF4LGAAA=" ChangeKey="CQAAABYAAACGvs35WFEvTaNeDfAlU93XAAAAF+bq"/>
      </ItemIds>
    </GetItem>
  </soap:Body>
</soap:Envelope>

违约
真的