You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
application/octet-stream .ics attachment not detected as event #13688
Send email containing .ics attachment with MIME type set to application/octet-stream
Open email in Nextcloud calendar
Attempt to add attached event to Calendar
Expected behavior
Attachment is identified as a calendar event:
Actual behavior
Attachment listed without "Add to Calendar" option:
Mail app version
5.12.0
Nextcloud version
34.0.4
Mailserver or service
Gmail
Operating system
Debian LXC
PHP engine version
PHP 8.3
Nextcloud memory caching
No response
Web server
Apache (supported)
Database
MariaDB
Additional info
I realize that application/octet-stream is a non-standard MIME-type for a calendar attachment, but this is something users have no control over. In this case, the email was sent from a local blood bank.
Perhaps it would be more accessible to either:
Allow for a list of custom mime types permitted for calendar attachments (still relatively brittle)
Activity
kesselb commentedon Sep 26, 2026
Thanks a lot 👍
That sounds like a good idea.
mail/lib/Controller/MessagesController.php
Line 1145 in 31ccccd
The attachment array should have a field "fileName"
mail/lib/Model/IMAPMessage.php
Line 40 in 31ccccd