Riccardo,
On Fri, May 16, 2025 at 08:42:47AM +0200, Riccardo Mottola wrote:
> The converter is quite crude, but should extract text and remove tags.
> It even tries to preserve some formatting, but does not respect style
> sheets, so with most modern mails you will get just text.
> A "missing feature" or "bug" is that sometimes it drops images, even if
> in-line images are supported. Never investigated.
> Sometimes I have noticed just a blank mail. I suppose that's a bug too,
> but don't have at hand a case to investigate it either.
Maybe this is why I've been having issues with GNUMail, as reported in
the thread on "Self-Signed Certs". So many emails that I receive now are
HTML, and maybe that's what's causing GNUMail to hang while "loading". I
haven't tried this on my Mac, as I'm trying to use ProtonMail Bridge
running locally on a Linux machine. If you need help testing, I am
willing to help.
If the converter is a homemade solution, why not save time and allow the
user to select a render program that's built for this purpose (or just
choose one for the user)? I'm writing this from Mutt, and my muttrc has
this:
```
# auto convert text/html MIME type to text/plain (see also ~/.mailcap)
auto_view text/html
```
And my .mailcap:
```
# auto view using w3m
text/html; w3m -I %{charset} -T text/html; copiousoutput;
```
So when I receive an HTML message, Mutt uses w3m to render it.
--
Luke Lollard