Author: bago
Date: Thu Jun 26 11:13:16 2008
New Revision: 671970
URL: http://svn.apache.org/viewvc?rev=671970&view=rev
Log:
Optimization suggested by Rick McGuire (JAMES-846)
Modified:
james/server/trunk/mailets-function/src/main/java/org/apache/james/transport/mailets/RemoteDelivery.java
Modified:
james/server/trunk/mailets-function/src/main/java/org/apache/james/transport/mailets/RemoteDelivery.java
URL:
http://svn.apache.org/viewvc/james/server/trunk/mailets-function/src/main/java/org/apache/james/transport/mailets/RemoteDelivery.java?rev=671970&r1=671969&r2=671970&view=diff
==============================================================================
---
james/server/trunk/mailets-function/src/main/java/org/apache/james/transport/mailets/RemoteDelivery.java
(original)
+++
james/server/trunk/mailets-function/src/main/java/org/apache/james/transport/mailets/RemoteDelivery.java
Thu Jun 26 11:13:16 2008
@@ -915,7 +915,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]