1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 13:14:39 +00:00

Check for empty body

This commit is contained in:
M66B 2022-01-28 19:40:20 +01:00
parent a63d1ef92a
commit 32de12bb53

View file

@ -3894,6 +3894,9 @@ public class MessageHelper {
imessage.writeTo(os);
}
if (file.length() == 0)
throw new IOException("NIL");
Properties props = MessageHelper.getSessionProperties();
Session isession = Session.getInstance(props, null);