EOLConvertingOutputStream msgOut = new EOLConvertingOutputStream(
        new LineWrapOutputStream(new SmtpDataStuffing(mOut), 1000));

message.writeTo(msgOut);
// We use BufferedOutputStream. So make sure to call flush() !
msgOut.flush();


I found this code, do you think this method can get the size of the mail 
currently sent?



在 2019年3月27日星期三 UTC+8下午7:16:28,Dmitry Alexandrov写道:
>
> [email protected] <javascript:> wrote: 
> >> 在 2019年3月27日星期三 UTC+8下午5:54:40,Dmitry Alexandrov写道: 
> >> [email protected] wrote: 
> >>> Send an email and display the sending progress percent in real time. 
> What should I do? 
> >> 
> >> Nothing.  Sending progress is displayed out of a box. 
> > 
> > I want to pop up a dialog box in the current view after clicking send, 
> and then display the size of the sent mail/the total size of the mail. I am 
> referring to the size of a single email. 
>
> In such a case, you have to patch K-9. 
>

-- 
You received this message because you are subscribed to the Google Groups "K-9 
Mail" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to