outlook.com(hotmail)的同步上传更改失败,但Office365成功 [英] Sync upload changes fails for outlook.com (hotmail), but succeeds for Office365

查看:985
本文介绍了outlook.com(hotmail)的同步上传更改失败,但Office365成功的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个奇怪的情况,我想将消息标记为已读/未读。这对于Office365(Exchange online)帐户运行时似乎工作正常,但是当使用@ outlook.com(hotmail)帐户时,相同的方法失败。以下是发送的
有效负载:

I am running into a weird situation where I want to mark as message as read/unread. This seems to work fine when running against an office365 (Exchange online) account, however when using a @outlook.com (hotmail) account, the same method fails. Here is the payload that is sent over:

<?xml version="1.0" encoding="UTF-8"?>
<Sync xmlns="AirSync:" xmlns:Email="Email:" xmlns:Tasks="Tasks:">
   <Collections>
      <Collection>
         <SyncKey>1000dlQSD6hjQUKiuPlhRvxfGw$$$$$$$1$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$</SyncKey>
         <CollectionId>00000000-0000-0000-0000-000000000001</CollectionId>
         <GetChanges>0</GetChanges>
         <Commands>
            <Change>
               <ServerId>d6d78e24-0f65-11e5-9ae0-001cc4ed9742</ServerId>
               <ApplicationData>
                  <Email:Read>1</Email:Read>
               </ApplicationData>
            </Change>
         </Commands>
      </Collection>
   </Collections>
</Sync>

hotmail.com服务器返回状态码3,根据规格指的是无效的同步密钥。但是这没有意义,因为同步键是正确的(同样的过程也可以与nonhotmail.com服务器一起使用)

The hotmail.com server returns status code 3 back, which according to the specs means invalid sync key. However that does not make sense because the sync key is correct (and also the same process works fine with non-hotmail.com servers)

有没有人有任何见解?

谢谢!

Waseem




推荐答案

小更新:这也适用于内部托管的Exchange 2010 SP3服务器
Small update: this also works fine with an on-premise hosted Exchange 2010 SP3 server


这篇关于outlook.com(hotmail)的同步上传更改失败,但Office365成功的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆