From 8832933a60679ca3ba5003d3fa8e6f3269e03e2d Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Tue, 17 Aug 2010 04:21:22 +0000 Subject: [PATCH] It turns out that if you're only fetching the bodystructure, the mime4j parser can't parse the message. --- src/com/fsck/k9/mail/store/ImapStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/mail/store/ImapStore.java b/src/com/fsck/k9/mail/store/ImapStore.java index 1d12e8651..710013718 100644 --- a/src/com/fsck/k9/mail/store/ImapStore.java +++ b/src/com/fsck/k9/mail/store/ImapStore.java @@ -1219,7 +1219,7 @@ public class ImapStore extends Store int messageNumber = 0; ImapResponseParser.IImapResponseCallback callback = null; - if (fp.contains(FetchProfile.Item.BODY) || fp.contains(FetchProfile.Item.BODY_SANE) || fp.contains(FetchProfile.Item.ENVELOPE)) + if (fp.contains(FetchProfile.Item.BODY) || fp.contains(FetchProfile.Item.BODY_SANE) ) { callback = new FetchBodyCallback(messageMap); }