| 1 | package Mail::Sender::CType::Ext; | ||
| 2 | $Mail::Sender::CType::Ext::VERSION = '0.903'; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | use Mail::Sender; | ||
| 6 | |||
| 7 | %Mail::Sender::CTypes = ( | ||
| 8 | |||
| 9 | #-------------------------------------<TEXT>----- | ||
| 10 | 'HTML' => "text/html", | ||
| 11 | 'HTM' => "text/html", | ||
| 12 | 'STM' => "text/html", | ||
| 13 | 'SHTML' => "text/html", | ||
| 14 | 'TXT' => "text/plain", | ||
| 15 | 'PREF' => "text/plain", | ||
| 16 | 'AIS' => "text/plain", | ||
| 17 | 'RTX' => "text/richtext", | ||
| 18 | 'TSV' => "text/tab-separated-values", | ||
| 19 | 'NFO' => "text/warez-info", | ||
| 20 | 'ETX' => "text/x-setext", | ||
| 21 | 'SGML' => "text/x-sgml", | ||
| 22 | 'SGM' => "text/x-sgml", | ||
| 23 | 'TALK' => "text/x-speech", | ||
| 24 | 'CGI' => "text/plain", # we want these two as text files | ||
| 25 | 'PL' => "text/plain", # and not application/x-httpd-cgi | ||
| 26 | |||
| 27 | #-------------------------------------<IMAGE>---- | ||
| 28 | 'COD' => "image/cis-cod", | ||
| 29 | 'FID' => "image/fif", | ||
| 30 | 'GIF' => "image/gif", | ||
| 31 | 'ICO' => "image/ico", | ||
| 32 | 'IEF' => "image/ief", | ||
| 33 | 'JPEG' => "image/jpeg", | ||
| 34 | 'JPG' => "image/jpeg", | ||
| 35 | 'JPE' => "image/jpeg", | ||
| 36 | 'PNG' => "image/png", | ||
| 37 | 'TIF' => "image/tiff", | ||
| 38 | 'TIFF' => "image/tiff", | ||
| 39 | 'MCF' => "image/vasa", | ||
| 40 | 'RAS' => "image/x-cmu-raster", | ||
| 41 | 'CMX' => "image/x-cmx", | ||
| 42 | 'PCD' => "image/x-photo-cd", | ||
| 43 | 'PNM' => "image/x-portable-anymap", | ||
| 44 | 'PBM' => "image/x-portable-bitmap", | ||
| 45 | 'PGM' => "image/x-portable-graymap", | ||
| 46 | 'PPM' => "image/x-portable-pixmap", | ||
| 47 | 'RGB' => "image/x-rgb", | ||
| 48 | 'XBM' => "image/x-xbitmap", | ||
| 49 | 'XPM' => "image/x-xpixmap", | ||
| 50 | 'XWD' => "image/x-xwindowdump", | ||
| 51 | |||
| 52 | #-------------------------------------<APPS>----- | ||
| 53 | 'EXE' => "application/octet-stream", | ||
| 54 | 'BIN' => "application/octet-stream", | ||
| 55 | 'DMS' => "application/octet-stream", | ||
| 56 | 'LHA' => "application/octet-stream", | ||
| 57 | 'CLASS' => "application/octet-stream", | ||
| 58 | 'DLL' => "application/octet-stream", | ||
| 59 | 'AAM' => "application/x-authorware-map", | ||
| 60 | 'AAS' => "application/x-authorware-seg", | ||
| 61 | 'AAB' => "application/x-authorware-bin", | ||
| 62 | 'VMD' => "application/vocaltec-media-desc", | ||
| 63 | 'VMF' => "application/vocaltec-media-file", | ||
| 64 | 'ASD' => "application/astound", | ||
| 65 | 'ASN' => "application/astound", | ||
| 66 | 'DWG' => "application/autocad", | ||
| 67 | 'DSP' => "application/dsptype", | ||
| 68 | 'DFX' => "application/dsptype", | ||
| 69 | 'EVY' => "application/envoy", | ||
| 70 | 'SPL' => "application/futuresplash", | ||
| 71 | 'IMD' => "application/immedia", | ||
| 72 | 'HQX' => "application/mac-binhex40", | ||
| 73 | 'CPT' => "application/mac-compactpro", | ||
| 74 | 'DOC' => "application/msword", | ||
| 75 | 'ODA' => "application/oda", | ||
| 76 | 'PDF' => "application/pdf", | ||
| 77 | 'AI' => "application/postscript", | ||
| 78 | 'EPS' => "application/postscript", | ||
| 79 | 'PS' => "application/postscript", | ||
| 80 | 'PPT' => "application/powerpoint", | ||
| 81 | 'RTF' => "application/rtf", | ||
| 82 | 'APM' => "application/studiom", | ||
| 83 | 'XAR' => "application/vnd.xara", | ||
| 84 | 'ANO' => "application/x-annotator", | ||
| 85 | 'ASP' => "application/x-asap", | ||
| 86 | 'CHAT' => "application/x-chat", | ||
| 87 | 'BCPIO' => "application/x-bcpio", | ||
| 88 | 'VCD' => "application/x-cdlink", | ||
| 89 | 'TGZ' => "application/x-compressed", | ||
| 90 | 'Z' => "application/x-compress", | ||
| 91 | 'CPIO' => "application/x-cpio", | ||
| 92 | 'PUZ' => "application/x-crossword", | ||
| 93 | 'CSH' => "application/x-csh", | ||
| 94 | 'DCR' => "application/x-director", | ||
| 95 | 'DIR' => "application/x-director", | ||
| 96 | 'DXR' => "application/x-director", | ||
| 97 | 'FGD' => "application/x-director", | ||
| 98 | 'DVI' => "application/x-dvi", | ||
| 99 | 'LIC' => "application/x-enterlicense", | ||
| 100 | 'EPB' => "application/x-epublisher", | ||
| 101 | 'FAXMGR' => "application/x-fax-manager", | ||
| 102 | 'FAXMGRJOB' => "application/x-fax-manager-job", | ||
| 103 | 'FM' => "application/x-framemaker", | ||
| 104 | 'FRAME' => "application/x-framemaker", | ||
| 105 | 'FRM' => "application/x-framemaker", | ||
| 106 | 'MAKER' => "application/x-framemaker", | ||
| 107 | 'GTAR' => "application/x-gtar", | ||
| 108 | 'GZ' => "application/x-gzip", | ||
| 109 | 'HDF' => "application/x-hdf", | ||
| 110 | 'INS' => "application/x-insight", | ||
| 111 | 'INSIGHT' => "application/x-insight", | ||
| 112 | 'INST' => "application/x-install", | ||
| 113 | 'IV' => "application/x-inventor", | ||
| 114 | 'JS' => "application/x-javascript", | ||
| 115 | 'SKP' => "application/x-koan", | ||
| 116 | 'SKD' => "application/x-koan", | ||
| 117 | 'SKT' => "application/x-koan", | ||
| 118 | 'SKM' => "application/x-koan", | ||
| 119 | 'LATEX' => "application/x-latex", | ||
| 120 | 'LICMGR' => "application/x-licensemgr", | ||
| 121 | 'MAIL' => "application/x-mailfolder", | ||
| 122 | 'MIF' => "application/x-mailfolder", | ||
| 123 | 'NC' => "application/x-netcdf", | ||
| 124 | 'CDF' => "application/x-netcdf", | ||
| 125 | 'SDS' => "application/x-onlive", | ||
| 126 | 'SGI-LPR' => "application/x-sgi-lpr", | ||
| 127 | 'SH' => "application/x-sh", | ||
| 128 | 'SHAR' => "application/x-shar", | ||
| 129 | 'SWF' => "application/x-shockwave-flash", | ||
| 130 | 'SPRITE' => "application/x-sprite", | ||
| 131 | 'SPR' => "application/x-sprite", | ||
| 132 | 'SIT' => "application/x-stuffit", | ||
| 133 | 'SV4CPIO' => "application/x-sv4cpio", | ||
| 134 | 'SV4CRC' => "application/x-sv4crc", | ||
| 135 | 'TAR' => "application/x-tar", | ||
| 136 | 'TARDIST' => "application/x-tardist", | ||
| 137 | 'TCL' => "application/x-tcl", | ||
| 138 | 'TEX' => "application/x-tex", | ||
| 139 | 'TEXINFO' => "application/x-texinfo", | ||
| 140 | 'TEXI' => "application/x-texinfo", | ||
| 141 | 'T' => "application/x-troff", | ||
| 142 | 'TR' => "application/x-troff", | ||
| 143 | 'TROFF' => "application/x-troff", | ||
| 144 | 'MAN' => "application/x-troff-man", | ||
| 145 | 'ME' => "application/x-troff-me", | ||
| 146 | 'MS' => "application/x-troff-ms", | ||
| 147 | 'TVM' => "application/x-tvml", | ||
| 148 | 'TVM' => "application/x-tvml", | ||
| 149 | 'USTAR' => "application/x-ustar", | ||
| 150 | 'SRC' => "application/x-wais-source", | ||
| 151 | 'WKZ' => "application/x-wingz", | ||
| 152 | 'ZIP' => "application/x-zip-compressed", | ||
| 153 | 'ZTARDIST' => "application/x-ztardist", | ||
| 154 | |||
| 155 | #-------------------------------------<AUDIO>---- | ||
| 156 | 'AU' => "audio/basic", | ||
| 157 | 'SND' => "audio/basic", | ||
| 158 | 'ES' => "audio/echospeech", | ||
| 159 | 'MID' => "audio/midi", | ||
| 160 | 'KAR' => "audio/midi", | ||
| 161 | 'MPGA' => "audio/mpeg", | ||
| 162 | 'MP2' => "audio/mpeg", | ||
| 163 | 'TSI' => "audio/tsplayer", | ||
| 164 | 'VOX' => "audio/voxware", | ||
| 165 | 'AIF' => "audio/x-aiff", | ||
| 166 | 'AIFC' => "audio/x-aiff", | ||
| 167 | 'AIFF' => "audio/x-aiff", | ||
| 168 | 'MID' => "audio/x-midi", | ||
| 169 | 'MP3' => "audio/x-mpeg", | ||
| 170 | 'MP2A' => "audio/x-mpeg2", | ||
| 171 | 'MPA2' => "audio/x-mpeg2", | ||
| 172 | 'M3U' => "audio/x-mpegurl", | ||
| 173 | 'MP3URL' => "audio/x-mpegurl", | ||
| 174 | 'PAT' => "audio/x-pat", | ||
| 175 | 'RAM' => "audio/x-pn-realaudio", | ||
| 176 | 'RPM' => "audio/x-pn-realaudio-plugin", | ||
| 177 | 'RA' => "audio/x-realaudio", | ||
| 178 | 'SBK' => "audio/x-sbk", | ||
| 179 | 'STR' => "audio/x-str", | ||
| 180 | 'WAV' => "audio/x-wav", | ||
| 181 | |||
| 182 | #-------------------------------------<VIDEO>---- | ||
| 183 | 'MPEG' => "video/mpeg", | ||
| 184 | 'MPG' => "video/mpeg", | ||
| 185 | 'MPE' => "video/mpeg", | ||
| 186 | 'QT' => "video/quicktime", | ||
| 187 | 'MOV' => "video/quicktime", | ||
| 188 | 'VIV' => "video/vivo", | ||
| 189 | 'VIVO' => "video/vivo", | ||
| 190 | 'MPS' => "video/x-mpeg-system", | ||
| 191 | 'SYS' => "video/x-mpeg-system", | ||
| 192 | 'MP2V' => "video/x-mpeg2", | ||
| 193 | 'MPV2' => "video/x-mpeg2", | ||
| 194 | 'AVI' => "video/x-msvideo", | ||
| 195 | 'MV' => "video/x-sgi-movie", | ||
| 196 | 'MOVIE' => "video/x-sgi-movie", | ||
| 197 | |||
| 198 | #-------------------------------------<EXTRA>---- | ||
| 199 | 'PDB' => "chemical/x-pdb", | ||
| 200 | 'XYZ' => "chemical/x-pdb", | ||
| 201 | 'CHM' => "chemical/x-cs-chemdraw", | ||
| 202 | 'SMI' => "chemical/x-daylight-smiles", | ||
| 203 | 'SKC' => "chemical/x-mdl-isis", | ||
| 204 | 'MOL' => "chemical/x-mdl-molfile", | ||
| 205 | 'RXN' => "chemical/x-mdl-rxn", | ||
| 206 | 'SMD' => "chemical/x-smd", | ||
| 207 | 'ACC' => "chemical/x-synopsys-accord", | ||
| 208 | 'ICE' => "x-conference/x-cooltalk", | ||
| 209 | 'SVR' => "x-world/x-svr", | ||
| 210 | 'WRL' => "x-world/x-vrml", | ||
| 211 | 'VRML' => "x-world/x-vrml", | ||
| 212 | 'VRJ' => "x-world/x-vrt", | ||
| 213 | 'VRJT' => "x-world/x-vrt", | ||
| 214 | ); | ||
| 215 | |||
| 216 | 1; | ||
| 217 | __END__ |