Send inline images

Fixes #49
pull/125/head
M66B 6 years ago
parent 402198df9d
commit f0a8803689

@ -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);
}

Loading…
Cancel
Save