From aea5cabeda00a660869fba4e2d8752c443d09c51 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Mon, 9 Dec 2024 03:22:03 -0700 Subject: [PATCH] Fix ICS file mimetype --- application/libraries/Email_messages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/libraries/Email_messages.php b/application/libraries/Email_messages.php index 47ae7cb7..7d3cb676 100644 --- a/application/libraries/Email_messages.php +++ b/application/libraries/Email_messages.php @@ -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(); }