Alternate html and text plain avoinding message like "your mailreader dont support html-mail"

José María Mateos chema at rinzewind.org
Sun Sep 8 16:19:00 UTC 2019


On Sun, Sep 08, 2019 at 11:18:08AM -0300, Marcelo Laia wrote:
>However, some messages have html and a single and sort alternate text 
>plain said "your mailreader don't support html message". in this case, 
>I need to hint "v" and select alternate html and hint enter to read the 
>message. 

I have seen messages like the one you mention. They are typically 
newsletters and such (anything composed with an e-mail client is 
unlikely to yield that, in my experience, or at least I can't recall if 
I have ever seen one of those).

What I do is to filter all newsletters to their proper folder, and then 
I have this in my muttrc:

auto_view text/html
folder-hook . 'unalternative_order *; alternative_order text/plain text/html'
folder-hook newsletters 'unalternative_order *; alternative_order text/html text/plain'

So my folder "newsletters" will see HTML before text, but for the rest 
of the folders, text comes first.

I don't know if this solution is OK for your current workflow / setup, 
but at least it's working quite well for me.

Cheers,

-- 
José María (Chema) Mateos || https://rinzewind.org/


More information about the Mutt-users mailing list