display_filter and multipart mails

Will Yardley mutt-users at veggiechinese.net
Tue Oct 19 04:48:05 UTC 2021


On Mon, Oct 18, 2021 at 10:49:38PM +0000, mike9 at posteo.nl wrote:

> I receive mails from someone using Content-Type: multipart/alternative
> with two parts. First: text/plain, second: text/html. The first part
> is always buggy (missing blanks and incorrect paragraphs). This is why
> in this case I like to display the second part.
> 
> It seems display_filter always receives the first part of an email.
> 
> How can I tell mutt to pass a certain part other than the first to
> display_filter?

I think you can set it in $alternative_order, e.g.,

alternative_order text/calendar text/plain text/enriched text/html test/*

So, in your case, you'd put text/html before text/plain

/w



More information about the Mutt-users mailing list