james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Perry" <d.pe...@netcase.co.uk>
Subject CommandListServFooter html email bug fix
Date Mon, 14 Mar 2005 16:48:43 GMT
There is a bug in commandlistservfooter where if an html email is sent to a
list, and a footer is added, it causes the content-type to become all
screwed up.  The fix is to add message.saveChanges() at appropriate points
(see below).  Complete fixed file is attached.  Could someone kindly commit
it for me :)

Daniel.

C:\java\james-2.2.0\src\java\org\apache\james\transport\mailets\CommandLists
ervFooter.java Fri Mar 04 15:16:37 2005
@@ -118,2 +118,3 @@
                 message.setContent(multipart);
+                message.saveChanges();
             } else {
@@ -128,2 +129,3 @@
                 message.setContent(multipart);
+                message.saveChanges();
             }

Mime
View raw message