Opened 6 years ago
Closed 6 years ago
#50440 closed defect (bug) (fixed)
ICS email attachment files missing MIME type
| Reported by: | BizzThemes | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.5 |
| Component: | External Libraries | Version: | 5.4.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
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 '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.
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi there, welcome to WordPress Trac! Thanks for the report.
PHPMailer was updated to version 6.1.6 in [48033] / #41750.
The current version does include the MIME type for .ics, so I'm closing the ticket as fixed in WordPress 5.5.