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 ba...@apache.org on 2008/06/26 20:13:16 UTC
svn commit: r671970 -
/james/server/trunk/mailets-function/src/main/java/org/apache/james/transport/mailets/RemoteDelivery.java
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org