0

my email client is mutt. and I am using elinks to view html in my emails and this is my mailcap:

text/html;  elinks %s; nametemplate=%s.html
text/html;  elinks -dump %s; nametemplate=%s.html; copiousoutput

and it is working fine, except in some emails it only shows the html code and after pushing v in my keyboard I see this

I     1 <no description>                      [multipa/alternativ, 7bit, 24K]
I     2 ├─><no description>                   [text/plain, base64, utf-8, 10K]
I     3 └─><no description>                   [multipa/related, 7bit, 13K]
I     4   ├─><no description>                 [text/html, base64, utf-8, 10K]
I     5   └─><no description>                 [image/jpeg, base64, 2.5K]

and when I choose multipa/related or text/html I see the body of my email well parsed with elinks

my question is how to config mutt to automatically parse the emails.

here is the relevant part of my muttrc file:

alternative_order text/html text/plain
set mailcap_path = ~/.mutt/mailcap
auto_view text/html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.