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:
parent
a63d1ef92a
commit
32de12bb53
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue