GetItemEstimate command responce giving the status as 2

Unanswered GetItemEstimate command responce giving the status as 2

  • lunes, 26 de septiembre de 2011 6:57
     
     
    Hi Friends, I am trying to count all the mails in a folder by GetItemEstimate command. The status should be 1 in responce. I am sending the proper request as in msdn document given bellow but geting status as2. which means collectionID is invalide. But i have tested that by passing all the possable id. Know i am using the collectionID from the FolderSync Command responce and SyncKye from Sync Command responce. This also give same status as 2. Is there any one to healp me.................. ? //XML Reqest <GetItemEstimate xmlns=\"GetItemEstimate:\" xmlns:Air=\"AirSync:\"> <Collections> <Collection> <Class>Email</Class> <CollectionId>collectionID</CollectionId> <FilterType>0</FilterType> <SyncKey>S_Kye</SyncKey> </Collection> </Collections> </GetItemEstimate> //XML Responce <GetItemEstimate> <Responce> <Status>2</Status> //This should 1 <Collection> <Class>NULL</Class> <CollectionId>NULL</CollectionId> <EstimateItem>NULL</EstimateItem> </Collection> </GetItemEstimate>

Todas las respuestas

  • lunes, 26 de septiembre de 2011 7:03
    Moderador
     
     

    are you using Sync Framework?

    this is the Sync Framework forum, you might want to post your question in the Exchange,  or Outlook forums.