forked from mirrors/easyappointments
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->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))
|
if ( ! $this->CI->email->send(FALSE))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue