mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
a707b064c2
commit
6fd80ce873
|
@ -769,7 +769,8 @@ public class MessageHelper {
|
||||||
});
|
});
|
||||||
attachmentPart.setDataHandler(new DataHandler(dataSource));
|
attachmentPart.setDataHandler(new DataHandler(dataSource));
|
||||||
|
|
||||||
attachmentPart.setFileName(attachment.name);
|
if (attachment.name != null)
|
||||||
|
attachmentPart.setFileName(attachment.name);
|
||||||
if (attachment.disposition != null)
|
if (attachment.disposition != null)
|
||||||
attachmentPart.setDisposition(attachment.disposition);
|
attachmentPart.setDisposition(attachment.disposition);
|
||||||
if (attachment.cid != null)
|
if (attachment.cid != null)
|
||||||
|
|
Loading…
Reference in New Issue