Operating System - HP-UX
1854936 Members
3576 Online
104106 Solutions
New Discussion

Listing of valid MIME pairings

 
SOLVED
Go to solution
James A. Donovan
Honored Contributor

Listing of valid MIME pairings

...been looking for this off and on for a while now....

Does anyone have a complete (???) listing of valid MIME "pairings" that are appropriate for various types of files? Like gzip/zip or .pdf or .jpg, etc?

I'm specifically looking for appropriate "include" statements for e-mails like:

[include /tmp/myattach application/octet-stream base64]

and what type of file such includes can be paired with.

tia...
Remember, wherever you go, there you are...
2 REPLIES 2
S.K. Chan
Honored Contributor
Solution

Re: Listing of valid MIME pairings

There should be a file in there .. "media-types", which will describe the types and subtypes. Get that file from ..
ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/
Part of the file content looks like this ..
Type Subtype Description Reference
---- ------- ----------- ---------
text plain [RFC2646,RFC2046]
richtext [RFC2045,RFC2046]
enriched [RFC1896]
tab-separated-values [Paul Lindner]
html [RFC2854]
......
application octet-stream [RFC2045,RFC2046]
postscript [RFC2045,RFC2046]
oda [RFC2045,RFC2046]
atomicmail [atomicmail,Borenstein]
andrew-inset [andrew-inset,Borenstein]
slate [slate,terry crowley]
....
S.K. Chan
Honored Contributor

Re: Listing of valid MIME pairings

Sorry .. format is all messed up ..
Type---Subtype--DescriptionReference
text---plain---[RFC2646,RFC2046]
-------richtext---[RFC2045,RFC2046]
-------enriched---[RFC1896]
-------tab-separated-values---[Paul Lindner]
-------html [RFC2854]
......