2013-11-21 45 views

回答

4

試試這個代碼從收件箱中獲得未讀郵件

SearchFilter sf = new SearchFilter.SearchFilterCollection(LogicalOperator.And, new SearchFilter.IsEqualTo(EmailMessageSchema.IsRead, false)); 
findResults = service.findItems(WellKnownFolderName.Inbox,sf, new ItemView(20)); 
相關問題