Re: Suggestions for mail client

From: Vitor Sonoki <vitorsonoki.0a04_at_yahoo.com>
Date: Sun, 22 Sep 2024 17:40:49 UTC
Joe B <josef.c.bailey@protonmail.com> wrote:
> I'm trying this setup right now and I see the text from the html
> email in neomutt. Question is how can i view pdf's ? I think the only
> thing that will make neomutt my main Is if i can view pdf's
> jpegs/pngs I think that is the main ones that people send.

I don't think there's any native or near-native way to view graphical
things like images or PDF through mutt. What I do is choose very
lightweight viewer appications (feh for images and mupdf for PDFs) and
refer to them in the mutt's mailcap file. This is what I got in mine:

	image/*; /usr/local/bin/feh %s
	application/pdf; /usr/local/bin/mupdf %s

Since they're so lightweight and open in miliseconds, it doesn't break
away from my workflow and I still can see what was meant in a message
easily. You'll have to go into attachments ('v') and press 'm' to view.

Hope this helps.

Vitor

> On 21.09.2024 03:24, Vitor Sonoki wrote:
> >You can install www/elinks (pkg install elinks), a text-based browser
> >that can "dump" the output of an HTML message rendered as plain text
> >straight into the terminal. Then you can add a mailcap entry
> >(~/.mutt/mailcap) like this:
> >
> >	text/html; /usr/local/bin/elinks %s ; copiousoutput
> >
> >And then mutt will automatically invoke elinks and render HTML emails
> >straight into the mutt viewport. No need to press 'v' and 'm' or
> >open an external browser or anything. It's very natural, quick, and
> >I use it in mutt all the time.