]> git.donarmstrong.com Git - roundcube.git/commitdiff
Fix problem with sending mail
authorVincent Bernat <bernat@luffy.cx>
Fri, 7 Mar 2008 10:10:10 +0000 (10:10 +0000)
committerJérémy Bobbio <lunar@debian.org>
Sat, 18 Jun 2011 17:12:09 +0000 (19:12 +0200)
debian/changelog
debian/patches/fix-too-old-php-mail-mime.patch [new file with mode: 0644]
debian/patches/series

index 5a37d0e90723571553a0186271c2315b9be41650..1946902b575409c1bfa68690361a6f280b63cd2d 100644 (file)
@@ -1,3 +1,9 @@
+roundcube (0.1-3) unstable; urgency=low
+
+  * Fix problem with too old php-mail-mime package (Closes: #469814)
+
+ -- Vincent Bernat <bernat@luffy.cx>  Fri, 07 Mar 2008 11:06:49 +0100
+
 roundcube (0.1-2) unstable; urgency=low
 
   * Ship bin/ directory as well. This fix conversion from HTML to text in
diff --git a/debian/patches/fix-too-old-php-mail-mime.patch b/debian/patches/fix-too-old-php-mail-mime.patch
new file mode 100644 (file)
index 0000000..d1af6b6
--- /dev/null
@@ -0,0 +1,15 @@
+--- roundcube/program/steps/mail/sendmail.inc  2008-03-07 09:52:40.000000000 +0100
++++ roundcube/program/steps/mail/sendmail.inc.new      2008-03-07 11:04:33.000000000 +0100
+@@ -351,7 +351,11 @@
+   
+   // append message to sent box
+   if ($store_folder)
+-    $saved = $IMAP->save_message($CONFIG[$store_target], $MAIL_MIME->getMessage());
++    {
++    $header_str = $MAIL_MIME->txtHeaders($headers);
++    $msg_body = $header_str."\r\n".$MAIL_MIME->get($message_param);
++    $saved = $IMAP->save_message($CONFIG[$store_target], $msg_body);
++    }
+   // raise error if saving failed
+   if (!$saved)
index c1aeafd030708b582bc49ca41f3275974d345fd1..e679d9a3883a23becbd323b015b77479e4662199 100644 (file)
@@ -4,3 +4,4 @@ use_packaged_tinymce.patch
 use-db-backend.patch
 correct-magic-path.patch
 disable-tinymce-spellchecker.patch
+fix-too-old-php-mail-mime.patch