Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar invites sent through mail providers have incorrect headers for the ics attachment #10416

Open
ChristophWurst opened this issue Nov 27, 2024 · 1 comment

Comments

@ChristophWurst
Copy link
Member

Steps to reproduce

  1. Invite another user to an event

Expected behavior

I receive an email where my mail client offers to import an event and respond to the RSVP

Content-Type: text/calendar; method=REQUEST; name=event.ics
Content-Transfer-Encoding: base64
Content-Disposition: inline; name=event.ics; filename=event.ics

^ from an invite before we had mail providers.

Actual behavior

Content-Type: text/calendar; name=event.ics; method=REQUEST
Content-Disposition: attachment; filename=event.ics
Content-Transfer-Encoding: 8bit

^ at least for Gnome Evolution, this doesn't make the ics file show as invite. It shows as attachment.

Mail app version

4.1.0-beta2

Nextcloud version

No response

Mailserver or service

No response

Operating system

No response

PHP engine version

None

Nextcloud memory caching

No response

Web server

None

Database

None

Additional info

No response

@SebastianKrupinski
Copy link
Contributor

Tested

Confirmed

Issue

Mail app sending does not have support for inline attachments

Resolution

Alter OCA\Mail\Service\MailTransmission::sendMessage() line 88 and 124 to handle inline attachments
Alter OCA\Mail\Db\LocalMessageAttachement to handle inline attachments
Alter OCA\Mail\Provider\Command\MessageSend::perform() to handle inline attachments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📄 To do
Development

No branches or pull requests

2 participants