Skip to content

Commit

Permalink
Update MS Office MIME types
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Jun 13, 2015
1 parent 199bd96 commit de90c4a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions class.phpmailer.php
Expand Up @@ -3199,6 +3199,16 @@ public static function _mime_types($ext = '')
'bin' => 'application/macbinary',
'doc' => 'application/msword',
'word' => 'application/msword',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template',
'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12',
'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
'class' => 'application/octet-stream',
'dll' => 'application/octet-stream',
'dms' => 'application/octet-stream',
Expand Down

0 comments on commit de90c4a

Please sign in to comment.