Author: bago
Date: Thu Jun 26 11:09:59 2008
New Revision: 671966

URL: http://svn.apache.org/viewvc?rev=671966&view=rev
Log:
Optimization suggested by Rick McGuire  (JAMES-846)

Modified:
    
james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/RemoteDelivery.java

Modified: 
james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
URL: 
http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/RemoteDelivery.java?rev=671966&r1=671965&r2=671966&view=diff
==============================================================================
--- 
james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
 (original)
+++ 
james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
 Thu Jun 26 11:09:59 2008
@@ -775,7 +775,7 @@
             for (int i = 0; i < count; i++) {
                 convertTo7Bit((MimePart)parts.getBodyPart(i));
             }
-        } else {
+        } else if ("8bit".equals(part.getEncoding())) {
             // The content may already be in encoded the form (likely with 
mail created from a
             // stream).  In that case, just changing the encoding to 
quoted-printable will mangle 
             // the result when this is transmitted.  We must first convert the 
content into its 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to