mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Check for empty body
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user