Parameters to Mailcap Entries
Prev | Chapter 10. Managing External Viewers with Mailcap | Next

## Parameters to Mailcap Entries

The code has been ported from Mutt and thereby inherits some of its various features and limitation.

The following parameters are supported:

Parameter | Description
--- | ---
%s | The filename that contains the data.
%f | The content type, like text/plain.

The following parameters are not supported, since they do not really make much sense for a non-MUA program:

Parameter | Description
--- | ---
%n | The integer number of sub-parts in the multipart
%F | The "content-type filename" repeated for each sub-part
%{ parameter} | The "parameter" value from the content-type field

Prev | Up | Next
Chapter 10. Managing External Viewers with Mailcap | Home | Reading of Mailcap Files