Correct the email mime type for the ICS file

This commit is contained in:
Alex Tselegidis 2022-11-30 11:21:59 +01:00
parent 8c91c86508
commit c1c588be22
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class Email_messages {
$this->CI->email->message($html);
$this->CI->email->attach($ics_stream, 'attachment', 'invitation.ics');
$this->CI->email->attach($ics_stream, 'attachment', 'invitation.ics', 'text/vcalendar');
if ( ! $this->CI->email->send(FALSE))
{