From 1a385086b33d8e745d5b03735609b6aea687c775 Mon Sep 17 00:00:00 2001 From: James Blair Date: Thu, 30 Dec 2021 17:45:39 +1300 Subject: [PATCH] Added html support for mutt. --- .muttmailcap | 1 + .muttrc | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .muttmailcap diff --git a/.muttmailcap b/.muttmailcap new file mode 100644 index 0000000..f93be9a --- /dev/null +++ b/.muttmailcap @@ -0,0 +1 @@ +text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -collapse_br_tags -dump %s; nametemplate=%s.html; copiousoutput diff --git a/.muttrc b/.muttrc index 17771d4..0fa4cb0 100644 --- a/.muttrc +++ b/.muttrc @@ -51,3 +51,7 @@ bind index,pager \Cn sidebar-next # Open the highlighted mailbox bind index,pager \Co sidebar-open +# Configure html emails +alternative_order text/plain text/html +auto_view text/html +set mailcap_path = ~/.mutt/mailcap