1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-31 19:41:19 +00:00

Send inline images

Fixes #49
This commit is contained in:
M66B 2018-09-13 18:31:05 +00:00
parent 402198df9d
commit f0a8803689

View file

@ -193,6 +193,8 @@ public class MessageHelper {
}
});
bpAttachment.setDataHandler(new DataHandler(dataSource));
if (attachment.cid != null)
bpAttachment.setHeader("Content-ID", attachment.cid);
multipart.addBodyPart(bpAttachment);
}