现在,我正在使用mailcore.Everytime工作邮件客户端,成功连接到imap服务器,但我无法获取INBOX列表。关键代码
CTCoreFolder *inbox = [account folderWithPath:@"INBOX"];
NSArray *messageList = [inbox messagesFromSequenceNumber :1 to:0 withFetchAttributes:CTFetchAttrEnvelope];
NSLog(@"%d",[messageList count]);
Evertime,输出为0;我这样做是错误的吗?