noel 2003/07/07 20:32:00
Modified: src/java/org/apache/james/transport/mailets Tag:
branch_2_1_fcs GenericListservManager.java
Log:
Matched correct error messages with the error condition
Revision Changes Path
No revision
No revision
1.2.4.3 +2 -2
james-server/src/java/org/apache/james/transport/mailets/GenericListservManager.java
Index: GenericListservManager.java
===================================================================
RCS file:
/home/cvs/james-server/src/java/org/apache/james/transport/mailets/GenericListservManager.java,v
retrieving revision 1.2.4.2
retrieving revision 1.2.4.3
diff -u -r1.2.4.2 -r1.2.4.3
--- GenericListservManager.java 8 Mar 2003 21:54:08 -0000 1.2.4.2
+++ GenericListservManager.java 8 Jul 2003 03:32:00 -0000 1.2.4.3
@@ -104,10 +104,10 @@
if (removeAddress(mail.getSender())) {
getMailetContext().bounce(mail, "Successfully removed from
listserv.");
} else {
- getMailetContext().bounce(mail, "You are not subscribed to this
listserv.");
+ getMailetContext().bounce(mail, "Unable to remove you from
listserv for some reason.");
}
} else {
- getMailetContext().bounce(mail, "Unable to remove you from listserv
for some reason");
+ getMailetContext().bounce(mail, "You are not subscribed to this
listserv.");
}
} else if (address.getUser().endsWith("-on")) {
if (existsAddress(mail.getSender())) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]