[bugs] [Bug 993] New - Messages saved in sent-mail have no content
bugs@bugs.horde.org
bugs@bugs.horde.org
Fri, 5 Jul 2002 05:09:39 -0300
http://bugs.horde.org/show_bug.cgi?id=993
*** shadow/993 Fri Jul 5 05:09:39 2002
--- shadow/993.tmp.20054 Fri Jul 5 05:09:39 2002
***************
*** 0 ****
--- 1,36 ----
+ Bug#: 993
+ Product: Horde
+ Version: other
+ Platform: PHP Code
+ OS/Version: All
+ Status: NEW
+ Resolution:
+ Severity: normal
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org
+ ReportedBy: yann@infra.kth.se
+ URL:
+ Summary: Messages saved in sent-mail have no content
+
+ Since 2002-07-02 (I think) Imp from CVS doesn't save the contents of
+ sent mail. This seems to fix it.
+
+ Index: compose.php
+ ===================================================================
+ RCS file: /repository/imp/compose.php,v
+ retrieving revision 2.518
+ diff -u -r2.518 compose.php
+ --- compose.php 5 Jul 2002 05:53:46 -0000 2.518
+ +++ compose.php 5 Jul 2002 08:02:32 -0000
+ @@ -856,7 +856,7 @@
+
+ /* Loop through the envelope and add headers. */
+ $fcc = $headers->toString();
+ - $fcc .= $msg;
+ + $fcc .= $mime->toString();
+
+ // Make absolutely sure there are no bare newlines.
+ $fcc = preg_replace("|([^\r])\n|", "\\1\r\n", $fcc);
+