Skip to content

Commit

Permalink
impl
Browse files Browse the repository at this point in the history
Issue #206
  • Loading branch information
rsoika committed Feb 19, 2024
1 parent 4bce7fc commit 531c6b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void attachHTMLMessage(Message message, ItemCollection workitem) throws I
String htmlMessage = mailConverterService.convertToHTML(message);
if (htmlMessage != null) {
// attache file
String filename = message.getSubject() + ".html";
String filename = resolveSubjectToFileName(message) + ".html";
FileData fileData = new FileData(filename, htmlMessage.getBytes("UTF-8"), "text/html", null);
workitem.addFileData(fileData);
}
Expand Down

0 comments on commit 531c6b9

Please sign in to comment.