Fix ICS file mimetype

This commit is contained in:
Skylar Ittner 2024-12-09 03:22:03 -07:00 committed by GitHub
parent 855c94f26d
commit aea5cabeda
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 = $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(); $php_mailer->send();
} }