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:
parent
564195bad9
commit
b7c67019af
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user