Skip to content

Commit

Permalink
fix: Fix event attachement issue for some email inbox providers (#723)
Browse files Browse the repository at this point in the history
Before this fix, the attachement was sent as raw text/Calendar without attachment name. This PR will add attachement name to avoid attachement lack in some mail inboxes
  • Loading branch information
hbenali authored Dec 27, 2024
1 parent 675355e commit cce3e1b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ protected MessageInfo makeMessage(NotificationContext ctx) {
timeZone);
attachment.setInputStream(new ByteArrayInputStream(icsFileBytes));
attachment.setMimeType("text/calendar;charset=utf-8;method=PUBLISH");
attachment.setName("event.ics");
messageInfo.addAttachment(attachment);


Expand Down

0 comments on commit cce3e1b

Please sign in to comment.