On Mon, Oct 18, 2021 at 10:49:38PM +0000, mi...@posteo.nl wrote:
It seems display_filter always receives the first part of an email.
$display_filter is run with the text about to be sent to the pager for viewing. It can't be used to select which alternative is rendered.
As Will Yardley mentioned, alternative_order can be used for that.You could also try combining that with a message-hook, so text/html is preferred only for that particular contact:
message-hook ~A 'unalternative_order *; alternative_order text/plain text/html' message-hook '~f person@example\.com' 'unalternative_order *; alternative_order text/html text/plain' -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature