From 1767b256e4261b766a09eb04a9888e1f8ed02df6 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 24 Jan 2019 08:40:19 +0100 Subject: [PATCH] Fix bug where big messages could not be saved to imap folder in low memory mode --- program/include/rcmail_sendmail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/program/include/rcmail_sendmail.php b/program/include/rcmail_sendmail.php index 265c546a6..c6a09c0b4 100644 --- a/program/include/rcmail_sendmail.php +++ b/program/include/rcmail_sendmail.php @@ -474,6 +474,7 @@ class rcmail_sendmail if (!is_a($msg, 'PEAR_Error')) { $msg = $mailbody_file; + $message->mailbody_file = $mailbody_file; } } }