PageRenderTime 29ms CodeModel.GetById 18ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 1ms

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