Merge pull request #1630 from skylarmt/patch-1

Fix ICS file mimetype
This commit is contained in:
Alex Tselegidis 2024-12-19 20:32:34 +02:00 committed by GitHub
commit 0b483896ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -114,7 +114,7 @@ class Email_messages
$php_mailer = $this->get_php_mailer($recipient_email, $subject, $html);
$php_mailer->addStringAttachment($ics_stream, 'invitation.ics', PHPMailer::ENCODING_BASE64, 'text/vcalendar');
$php_mailer->addStringAttachment($ics_stream, 'invitation.ics', PHPMailer::ENCODING_BASE64, 'text/calendar');
$php_mailer->send();
}