You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@DanskerDave Thanks for the tip. Upgrading to minimum version of JDK11 will most likely happen in the current release. Once that happens I should be able to use transferTo.
org.eclipse.angus.mail.pop3.POP3Message.writeTo(OutputStream os); writes each byte individually to the OutputStream
If you precede it with...
org.eclipse.angus.mail.pop3.POP3Message.getInputStream().transferTo(OutputStream os);
...both will use a byte[] Buffer.
Attached (see later) is an example.
(it uses test.mailu.io which seems to be a publicly accessible Demo Mail Server)
Look for the
TODO
& switch the order ofreadMessageBytesRaw(...)
&readMessageBytesRFC822(...)
to reproduce.I would expect it to buffer its writes, rather than writing each byte individually.
Desktop:
Mail server:
Java 17 Example:
The text was updated successfully, but these errors were encountered: