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\CommandListservFooter.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();
}
@@ -118,2 +118,3 @@
message.setContent(multipart);
+ message.saveChanges();
} else {
@@ -128,2 +129,3 @@
message.setContent(multipart);
+ message.saveChanges();
}
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]