mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 10:53:40 +03:00
Correct the email mime type for the ICS file
This commit is contained in:
parent
8c91c86508
commit
c1c588be22
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue