james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r611946 - /james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/ToMultiRepository.java
Date Mon, 14 Jan 2008 21:46:06 GMT
Author: bago
Date: Mon Jan 14 13:46:03 2008
New Revision: 611946

URL: http://svn.apache.org/viewvc?rev=611946&view=rev
Log:
Fix for the IllegalArgumentException on ToMultiRepository  used with addDeliveryHeader disabled
(JAMES-832)

Modified:
    james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/ToMultiRepository.java

Modified: james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/ToMultiRepository.java
URL: http://svn.apache.org/viewvc/james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/ToMultiRepository.java?rev=611946&r1=611945&r2=611946&view=diff
==============================================================================
--- james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/ToMultiRepository.java
(original)
+++ james/server/trunk/spoolmanager-function/src/main/java/org/apache/james/transport/mailets/ToMultiRepository.java
Mon Jan 14 13:46:03 2008
@@ -116,10 +116,7 @@
         Collection recipients = mail.getRecipients();
         Collection errors = new Vector();
 
-        MimeMessage message = null;
-        if (deliveryHeader != null || resetReturnPath) {
-            message = mail.getMessage();
-        }
+        MimeMessage message = mail.getMessage();
 
         if (resetReturnPath) {
             // Set Return-Path and remove all other Return-Path headers from the



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message