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);