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>