1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-02-07 02:30:10 -05:00

SMTP dot stuffing should be done *after* line wrapping.

This commit is contained in:
Joe Steele 2013-08-09 19:45:58 -04:00
parent 564195bad9
commit b7c67019af

View File

@ -498,10 +498,8 @@ public class SmtpTransport extends Transport {
executeSimpleCommand("DATA");
EOLConvertingOutputStream msgOut = new EOLConvertingOutputStream(
new SmtpDataStuffing(
new LineWrapOutputStream(
new BufferedOutputStream(mOut, 1024),
1000)));
new LineWrapOutputStream(new SmtpDataStuffing(
new BufferedOutputStream(mOut, 1024)), 1000));
message.writeTo(msgOut);