mirror of https://github.com/M66B/FairEmail.git
parent
402198df9d
commit
f0a8803689
|
@ -193,6 +193,8 @@ public class MessageHelper {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
bpAttachment.setDataHandler(new DataHandler(dataSource));
|
bpAttachment.setDataHandler(new DataHandler(dataSource));
|
||||||
|
if (attachment.cid != null)
|
||||||
|
bpAttachment.setHeader("Content-ID", attachment.cid);
|
||||||
|
|
||||||
multipart.addBodyPart(bpAttachment);
|
multipart.addBodyPart(bpAttachment);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue