mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-07 02:30:10 -05:00
Revert r1386 because it will break many folks email sending.
This commit is contained in:
parent
d114fa1bc3
commit
ef1abffa26
@ -91,7 +91,7 @@ public class MimeBodyPart extends BodyPart
|
||||
//using org.apache.commons.codec.net.QuotedPrintableCodec
|
||||
//when it will implement all rules (missing #3, $4 & #5) of the RFC
|
||||
//http://www.ietf.org/rfc/rfc1521.txt
|
||||
// setHeader(MimeHeader.HEADER_CONTENT_TRANSFER_ENCODING, "base64");
|
||||
setHeader(MimeHeader.HEADER_CONTENT_TRANSFER_ENCODING, "base64");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -379,8 +379,7 @@ public class MimeMessage extends Message
|
||||
{
|
||||
setHeader(MimeHeader.HEADER_CONTENT_TYPE, String.format("%s;\n charset=utf-8",
|
||||
getMimeType()));
|
||||
// TODO: Should this be quoted-printable?
|
||||
// setHeader(MimeHeader.HEADER_CONTENT_TRANSFER_ENCODING, "base64");
|
||||
setHeader(MimeHeader.HEADER_CONTENT_TRANSFER_ENCODING, "base64");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -21,10 +21,7 @@ public class TextBody implements Body
|
||||
if (mBody!=null)
|
||||
{
|
||||
byte[] bytes = mBody.getBytes("UTF-8");
|
||||
out.write(bytes);
|
||||
|
||||
// TODO: Should this be quoted-printable?
|
||||
//out.write(Base64.encodeBase64Chunked(bytes));
|
||||
out.write(Base64.encodeBase64Chunked(bytes));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user