[wp-trac] [WordPress Trac] #50440: ICS email attachment files missing MIME type
WordPress Trac
noreply at wordpress.org
Sat Jun 20 15:51:26 UTC 2020
#50440: ICS email attachment files missing MIME type
--------------------------+-----------------------------
Reporter: BizzThemes | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version: 5.4.2
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
Add MIME type for .ics files inside "wp-includes\class-phpmailer.php",
function "_mime_types".
This should be pretty simple. Add the following to the function
"_mime_types" (line 3533):
{{{#!php
<?php
'ics' => 'text/Calendar'
}}}
The main issue is that not all email clients can read these files
correctly, since the .ics file are not assigned a correct mime type. For
instance, gMail does not detect all events in the .ics file because of
this and only detects the first one.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50440>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list