이메일로 그룹 공용함에 .ICS 캘린더 파일을 보내기

Sorry if I’m missing something obvious here. I’ve spent about 15–20 minutes searching and haven’t found anything that matches what I need.

I have a Discourse group with an associated incoming email address. My goal is for someone to be able to create a calendar event in Outlook, send the invite to that group email address, and have the resulting ICS invite appear as an attachment in the group DM thread.

I’ve already enabled the setting that allows ICS attachment extensions, but when an Outlook event email arrives in the group, no ICS attachment shows up on the post. In case it makes a difference, I’m running Discourse version 3.5.2.

Just to be clear: this isn’t about Discourse generating ICS files (e.g., via the #calendar-and-event feature). I’m only trying to get Outlook-sent invites to pass through as visible ICS attachments in the group thread.

Thanks for any insights!

1개의 좋아요

“DM” and “thread” are terms that are connected to chat in Discourse. Is this about chat or personal messages?

1개의 좋아요

Sorry for the confusion. This is a group with a custom incoming email address that we’re trying to get the .ics files to show up when that group email is sent a calendar invite email to the group address /messages/inbox for the group.

Group setup:

Here is a sample, the info was sent, but .ICS attachment is missing. The group DOES get other email attachments.

1개의 좋아요

Have you tried enabling the Allow all attachments for group messages site setting?

1개의 좋아요

I had NOT turned that on… I was SO excited.

Sadly, when I turned it on, I didn’t see any difference, still no ICS:

1개의 좋아요

I’m 99% sure I haven’t vibe coded my way to a real solution, but I think could be narrowed down a bit.

  1. Incoming calendar invites are Content-Type: text/calendar;
  2. That is not one of the Content-Types that is recognized as an attachment by Discourse, it is just seen as part of the email body.

Several things would likely need to be changed:

  1. In discourse/lib/email/receiver.rb at a8cfcfb7ecb4f821391a16baedcc677f71b4db79 · discourse/discourse · GitHub it would need to recognize part.mime_type == “text/calendar” as an attachment type
  2. The system would need to basically create an .ics file attachment based on the data it finds afterContent-Type: text/calendar;

Not sure how likely any of this, but at least this is out there in case anyone else is searching around wondering why it isn’t working.

3개의 좋아요

이것은 새로운 기능 요청으로 보이기 때문에 Contribute > Feature 채널로 옮깁니다.

1개의 좋아요

다음 링크에서 캘린더 및 이벤트 관련 개선 작업이 진행 중이라는 것을 확인했습니다: Current Projects - April 2026

혹시 이미 코드를 열려 있는 분이 계실까 봐 이 주제를 살짝 올려봅니다.

2개의 좋아요