is it possible to have two options for viewing html mail?

Wim factotum_muth at web.de
Sat Oct 24 22:13:55 UTC 2020


Hi,

On Saturday, 24 October at 22:54, Mutt Users wrote:

> Lots of people send me mail in HTML format (even though I do not like it). I have the following set up in my .mailcap:
>
> text/html; w3m -I %{charset} -T text/html; copiousoutput
>
> so it converts things using w3m more or less okay, however, I am wondering is it possible to have an option for viewing using midori/firefox for the cases where w3m is not enough?
>
> My thanks in advance!
>

I've got this in my mailcap:


text/html; w3m -I %{charset} -T text/html -dump; copiousoutput; print = qutebrowser %s; nametemplate=%s.html

To open an email in w3m press Enter, in qutebrowser p or whatever print
is bound to. You can adapt this for firefox.

Hope that helps.
Regards Wim

--
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'
    '---''(_/--'  `-'\_)


More information about the Mutt-users mailing list