]> git.donarmstrong.com Git - roundcube.git/blob - debian/patches/fix-too-old-php-mail-mime.patch
Merge commit 'upstream/0.1.1'
[roundcube.git] / debian / patches / fix-too-old-php-mail-mime.patch
1 --- roundcube/program/steps/mail/sendmail.inc   2008-03-07 09:52:40.000000000 +0100
2 +++ roundcube/program/steps/mail/sendmail.inc.new       2008-03-07 11:04:33.000000000 +0100
3 @@ -351,7 +351,11 @@
4    
5    // append message to sent box
6    if ($store_folder)
7 -    $saved = $IMAP->save_message($CONFIG[$store_target], $MAIL_MIME->getMessage());
8 +    {
9 +    $header_str = $MAIL_MIME->txtHeaders($headers);
10 +    $msg_body = $header_str."\r\n".$MAIL_MIME->get($message_param);
11 +    $saved = $IMAP->save_message($CONFIG[$store_target], $msg_body);
12 +    }
13  
14    // raise error if saving failed
15    if (!$saved)