Skip to content

Commit

Permalink
Merge pull request #1630 from skylarmt/patch-1
Browse files Browse the repository at this point in the history
Fix ICS file mimetype
  • Loading branch information
alextselegidis authored Dec 19, 2024
2 parents 54529a2 + aea5cab commit 0b48389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/libraries/Email_messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function send_appointment_saved(

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

0 comments on commit 0b48389

Please sign in to comment.