Skip to content

Commit

Permalink
feat(CO-1264): set attachment filename on attached emails
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarto committed Nov 11, 2024
1 parent 753d486 commit 17a399c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ private static void attachMessage(MimeMultipart mmp, ItemId iid, String contentI
mbp.setHeader("Content-Type", MimeConstants.CT_MESSAGE_RFC822);
mbp.setHeader("Content-Disposition", Part.ATTACHMENT);
}
mbp.setFileName(msg.getSubject() + ".eml");
mbp.setContentID(contentID);
mmp.addBodyPart(mbp);
}
Expand Down

0 comments on commit 17a399c

Please sign in to comment.