Skip to main content

Appendix C - A Note on Format Translation

It has been suggested that another function of a mailcap-like mechanism might be to specify the locally available tools for document format translation. For example, the file could designate a program for translating from format A to format B, another for translating from format B to format C, and finally a mechanism for displaying format C. Although this mechanism would be somewhat richer than the current mailcap file, and might conceivably also have utility at the message transport layer, it significantly

complicates the processing effort necessary for a user agent that simply wants to display a message in format A. Using the current, simpler, mailcap scheme, a single line could tell such a user agent to display A-format mail using a pipeline of translators and the C-format viewer. This memo resists the temptation to complicate the necessary processing for a user agent to accomplish this task. Using the mailcap format defined here, it is only necessary to find the correct single line in a mailcap file, and to execute the command given in that line.