You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by da...@apache.org on 2002/06/18 23:39:53 UTC
cvs commit: jakarta-james/src/java/org/apache/james/transport/mailets Forward.java
danny 2002/06/18 14:39:53
Modified: src/java/org/apache/james/transport/mailets Forward.java
Log:
Forward now supports <passthrough>, thanks to Sam Kirkpatrick
Revision Changes Path
1.3 +3 -1 jakarta-james/src/java/org/apache/james/transport/mailets/Forward.java
Index: Forward.java
===================================================================
RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/transport/mailets/Forward.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Forward.java 18 Jan 2002 02:48:38 -0000 1.2
+++ Forward.java 18 Jun 2002 21:39:52 -0000 1.3
@@ -36,7 +36,9 @@
public void service(Mail mail) throws MessagingException {
getMailetContext().sendMail(mail.getSender(), newRecipients, mail.getMessage());
- mail.setState(Mail.GHOST);
+ if(! (new Boolean(getInitParameter("passThrough"))).booleanValue()) {
+ mail.setState(Mail.GHOST);
+ }
}
public String getMailetInfo() {
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>