Lines Matching full:mailcap
0 """Mailcap file handling. See RFC 1524."""
10 """Return a dictionary containing the mailcap database.
13 to a list of dictionaries corresponding to mailcap entries. The list
14 collects all the entries for that MIME type from all available mailcap
20 for mailcap in listmailcapfiles():
22 fp = open(mailcap, 'r')
35 """Return a list of all mailcap files found on the system."""
46 mailcaps = [home + '/.mailcap', '/etc/mailcap',
47 '/usr/etc/mailcap', '/usr/local/etc/mailcap']
54 """Read a mailcap file and return a dictionary keyed by MIME type.
58 if a given MIME type appears more than once in the mailcap file.
92 """Parse one entry in a mailcap file and return a dictionary.
123 """Separate one key-value pair in a mailcap entry."""
139 """Find a match for a mailcap entry.
141 Return a tuple containing the command line, and the mailcap entry
222 print "usage: mailcap [MIMEtype file] ..."
236 print "Mailcap files:"
240 print "Mailcap entries:"