summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/imap.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index 2427e4652..61ba22414 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -2418,6 +2418,8 @@ function iil_C_HandlePartBody(&$conn, $mailbox, $id, $part='', $encoding=NULL, $
else
$result .= quoted_printable_decode($line);
} else if ($mode == 3) {
+ if ($line == 'end')
+ continue;
if ($file)
fwrite($file, convert_uudecode($line));
else if ($print)