PMDF System Manager's Guide


Previous Next Contents Index

38.5.8 Content Type Mappings

cc:Mail does not provide a means of directly associating content type information with its attachments. However, cc:Mail does provide file name information, which can be used to infer MIME content types. Similarly, MIME content types can be converted into appropriate file names for cc:Mail use. These optional conversions are implemented using a set of mapping tables in the mapping file. See Chapter 5 for general information on the mapping file.

The following sections describe all the mappings used by the cc:Mail channel. Examples of these mappings are also provided in a sample file cc_mappings.sample in the PMDF table directory, i.e., PMDF_TABLE:cc_mappings.sample on OpenVMS or /pmdf/table/cc_mappings.sample on UNIX, included as part of the PMDF distribution.

38.5.8.1 MIME-CONTENT-TYPES-TO-CC Mapping

The MIME-CONTENT-TYPES-TO-CC mapping table maps MIME content type and subtype information into cc:Mail file name information. A minimal MIME-CONTENT-TYPES-TO-CC mapping would be:


MIME-CONTENT-TYPES-TO-CC 
 
  APPLICATION/POSTSCRIPT          PS.PS 
  IMAGE/GIF                       GIF.GIF 
  IMAGE/TIFF                      TIFF.TIF 
  TEXT/PLAIN                      TEXT.TXT 

38.5.8.2 CC-TO-MIME-CONTENT-TYPES Mapping

The CC-TO-MIME-CONTENT-TYPES mapping table maps cc:Mail attachment file names into MIME content type and subtype information. A minimal CC-TO-MIME-CONTENT-TYPES mapping would be:


CC-TO-MIME-CONTENT-TYPES 
 
  *.PS                            APPLICATION/POSTSCRIPT 
  *.GIF                           IMAGE/GIF 
  *.TIF                           IMAGE/TIFF 
  *.TXT                           TEXT/PLAIN 
  *.BAT                           TEXT/PLAIN 

38.5.8.3 CC-TO-MIME-ENCODINGS Mapping

The CC-TO-MIME-ENCODINGS mapping table maps cc:Mail attachment file names into MIME content type and subtype information. A minimal CC-TO-MIME-ENCODINGS mapping would be:


CC-TO-MIME-ENCODINGS 
 
  *.PS                            QUOTED-PRINTABLE 
  *.GIF                           BASE64 
  *.TIF                           BASE64 
  *.TXT                           8BIT 
  *.BAT                           7BIT 


Previous Next Contents Index