From 112a66b6801bcabb0377b1368da8d3465ef3dea3 Mon Sep 17 00:00:00 2001 From: pfelt Date: Tue, 16 Oct 2007 18:28:24 +0000 Subject: [PATCH] -- should use body[] instead of rfc822 to guarantee delivery of malformed mail --- src/libs/python/bongo/store/StoreClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/python/bongo/store/StoreClient.py b/src/libs/python/bongo/store/StoreClient.py index faacffd..2da2b9f 100644 --- a/src/libs/python/bongo/store/StoreClient.py +++ b/src/libs/python/bongo/store/StoreClient.py @@ -820,7 +820,7 @@ class StoreClient: if r.code != 2002: raise CommandError(r) - self.stream.WriteRaw(imap.fetch(num, '(RFC822)')[1][0][1]) + self.stream.WriteRaw(imap.fetch(num, '(body[])')[1][0][1]) r = self.stream.GetResponse() if r.code != 1000: