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