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(); }