|
|
@ -1475,6 +1475,8 @@ public class MessageHelper {
|
|
|
|
attachmentPart.setDisposition(attachment.disposition);
|
|
|
|
attachmentPart.setDisposition(attachment.disposition);
|
|
|
|
if (attachment.cid != null)
|
|
|
|
if (attachment.cid != null)
|
|
|
|
attachmentPart.setHeader("Content-ID", attachment.cid);
|
|
|
|
attachmentPart.setHeader("Content-ID", attachment.cid);
|
|
|
|
|
|
|
|
if ("message/rfc822".equals(attachment.type))
|
|
|
|
|
|
|
|
attachmentPart.setHeader("Content-Transfer-Encoding", "base64");
|
|
|
|
|
|
|
|
|
|
|
|
if (attachment.isInline())
|
|
|
|
if (attachment.isInline())
|
|
|
|
relatedMultiPart.addBodyPart(attachmentPart);
|
|
|
|
relatedMultiPart.addBodyPart(attachmentPart);
|
|
|
|