-- should use body[] instead of rfc822 to guarantee delivery of malformed mail

This commit is contained in:
pfelt
2007-10-16 18:28:24 +00:00
parent 7c3d8efc0c
commit 112a66b680
+1 -1
View File
@@ -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: