MIME & Attachments#
Commands for MIME type handling, auto-view, attachment counting, and content preferences.
:alternative-order#
Set the preference order for viewing multipart/alternative messages.
alternative-order <type> [<type> ...]β list types in order of preference
alternative-order text/plain text/enriched text/html
:unalternative-order#
Remove types from the preference order.
unalternative-order *β reset to defaultunalternative-order <type>β remove a specific type
unalternative-order *
:auto-view#
Automatically display MIME types inline using a mailcap entry.
auto-view <type> [<type> ...]β add types for inline display
auto-view text/html
auto-view text/html application/pdf text/calendar
auto-view application/pgp-encrypted
:unauto-view#
Remove types from the auto-view list.
unauto-view *β remove allunauto-view <type>β remove a specific type
unauto-view *
unauto-view text/html
:attachments#
Define rules for how NeoMutt counts attachments (affects %X, %Q, %q expandos).
attachments +<disposition> <type>β count a type as an attachmentattachments -<disposition> <type>β donβt count a typeattachments ?β show current rules
Dispositions: I (inline) or A (attached).
attachments +A */.*
attachments +I text/plain
attachments -A text/x-vcard
attachments -A message/external-body
attachments -I message/external-body
attachments ?
See also
:unattachments#
Remove attachment counting rules.
unattachments *β remove all rulesunattachments +A <type>β remove a specific rule
unattachments *
unattachments +A text/x-vcard
:mime-lookup#
Tell NeoMutt to look up mailcap handlers for specific MIME types via the mailcap file.
mime-lookup <type> [<type> ...]
mime-lookup application/octet-stream
:unmime-lookup#
Remove custom MIME-lookup rules.
unmime-lookup *β remove allunmime-lookup <type>β remove a specific type
unmime-lookup *
:mailto-allow#
Permit specific header fields to be set by mailto: URLs.
mailto-allow *β allow all headersmailto-allow <field> [<field> ...]β allow specific headers
mailto-allow subject body cc
mailto-allow in-reply-to
:unmailto-allow#
Disallow headers in mailto: URL processing.
unmailto-allow *β disallow all headersunmailto-allow <field>β disallow a specific header
unmailto-allow *
unmailto-allow body