Also make sure you're just looking at the HTML part and not the entire
mail. Lynx/Elinks read HTML, not MIME. In mutt use 'v' to select the
different parts.
--Stephen
On Wed, Nov 12, 2025 at 05:04:02PM +0000, Crystal Kolipe wrote:
> On Wed, Nov 12, 2025 at 08:22:11AM -0800, Chris Bennett wrote:
> > This:
>
> If you just want to read the textual content, some combination of sed, awk,
> perl, and other command line tools will extract it from the html and css with
> minimal effort, (depending on the degree of trimming and formatting that you
> desire).
>
> For example:
>
> #!/usr/bin/perl
> $line = <>;
> $line =~ s/<.*?>/\n/g;
> $line =~ s/{.*?}/\n/g;
> $line =~ s/\s+/ /g;
> $line =~ s/\. /\n/g;
> print $line;
>
> $ cat input_file | tr -d '^J' | ./above_perl_script
>
> But the real solution is to tell the sender to supply a plain text version.
>