noel 2003/07/07 20:31:33
Modified: src/java/org/apache/james/transport/mailets
GenericListservManager.java
Log:
Matched correct error messages with the error condition
Revision Changes Path
1.5 +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.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- GenericListservManager.java 8 Mar 2003 21:14:08 -0000 1.4
+++ GenericListservManager.java 8 Jul 2003 03:31:32 -0000 1.5
@@ -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]