mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-14 00:29:35 +01:00
Prevent crash
This commit is contained in:
@@ -769,7 +769,8 @@ public class MessageHelper {
|
||||
});
|
||||
attachmentPart.setDataHandler(new DataHandler(dataSource));
|
||||
|
||||
attachmentPart.setFileName(attachment.name);
|
||||
if (attachment.name != null)
|
||||
attachmentPart.setFileName(attachment.name);
|
||||
if (attachment.disposition != null)
|
||||
attachmentPart.setDisposition(attachment.disposition);
|
||||
if (attachment.cid != null)
|
||||
|
||||
Reference in New Issue
Block a user