0
私はMailCoreとのメールの本文を取得しようとしているが、それは常に空です。 私のコードはObjective CのMailCoreメッセージボディ
CTCore *folder = [[CTCorefolder alloc] initWithPath:@"INBOX" inAccount:account];
for(CTCoreMessage *msg in [folder messageObjectsFromIndex : 0 toIndex:10]){
if([msg.subject isEqualToString:@"test")]){
// no pb here, it find the good Mail
NSLog(@"Message Body length : %d", msg.body.length);
// here the length is 0 and the body is : ""
}
}
は「msg.HtmlBody」のように、体を得るための他の方法がありますが、それはあまりにも空です。 しかし、私は空ではないボディを見ることができます。 どうすればいいですか?