/framework/vendor/swift/lib/mime_types.php

http://zoop.googlecode.com/ · PHP · 76 lines · 61 code · 4 blank · 11 comment · 0 complexity · abb6ccc75d6a59a42cb258da02f90a5c MD5 · raw file

  1. <?php
  2. /*
  3. * This file is part of SwiftMailer.
  4. * (c) 2004-2009 Chris Corbyn
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. /*
  10. * List of MIME type automatically detected in Swift Mailer.
  11. */
  12. //You may add or take away what you like (lowercase required)
  13. $swift_mime_types = array(
  14. 'aif' => 'audio/x-aiff',
  15. 'aiff' => 'audio/x-aiff',
  16. 'avi' => 'video/avi',
  17. 'bmp' => 'image/bmp',
  18. 'bz2' => 'application/x-bz2',
  19. 'csv' => 'text/csv',
  20. 'dmg' => 'application/x-apple-diskimage',
  21. 'doc' => 'application/msword',
  22. 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
  23. 'eml' => 'message/rfc822',
  24. 'aps' => 'application/postscript',
  25. 'exe' => 'application/x-ms-dos-executable',
  26. 'flv' => 'video/x-flv',
  27. 'gif' => 'image/gif',
  28. 'gz' => 'application/x-gzip',
  29. 'hqx' => 'application/stuffit',
  30. 'htm' => 'text/html',
  31. 'html' => 'text/html',
  32. 'jar' => 'application/x-java-archive',
  33. 'jpeg' => 'image/jpeg',
  34. 'jpg' => 'image/jpeg',
  35. 'm3u' => 'audio/x-mpegurl',
  36. 'm4a' => 'audio/mp4',
  37. 'mdb' => 'application/x-msaccess',
  38. 'mid' => 'audio/midi',
  39. 'midi' => 'audio/midi',
  40. 'mov' => 'video/quicktime',
  41. 'mp3' => 'audio/mpeg',
  42. 'mp4' => 'video/mp4',
  43. 'mpeg' => 'video/mpeg',
  44. 'mpg' => 'video/mpeg',
  45. 'odg' => 'vnd.oasis.opendocument.graphics',
  46. 'odp' => 'vnd.oasis.opendocument.presentation',
  47. 'odt' => 'vnd.oasis.opendocument.text',
  48. 'ods' => 'vnd.oasis.opendocument.spreadsheet',
  49. 'ogg' => 'audio/ogg',
  50. 'pdf' => 'application/pdf',
  51. 'png' => 'image/png',
  52. 'ppt' => 'application/vnd.ms-powerpoint',
  53. 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
  54. 'ps' => 'application/postscript',
  55. 'rar' => 'application/x-rar-compressed',
  56. 'rtf' => 'application/rtf',
  57. 'tar' => 'application/x-tar',
  58. 'sit' => 'application/x-stuffit',
  59. 'svg' => 'image/svg+xml',
  60. 'tif' => 'image/tiff',
  61. 'tiff' => 'image/tiff',
  62. 'ttf' => 'application/x-font-truetype',
  63. 'txt' => 'text/plain',
  64. 'vcf' => 'text/x-vcard',
  65. 'wav' => 'audio/wav',
  66. 'wma' => 'audio/x-ms-wma',
  67. 'wmv' => 'audio/x-ms-wmv',
  68. 'xls' => 'application/excel',
  69. 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
  70. 'xml' => 'application/xml',
  71. 'zip' => 'application/zip'
  72. );