On Tue, Sep 22, 2009 at 08:11:34PM +0200, Antoni Grzymala wrote:
> Don Harper dixit (2009-09-22, 12:56):
> 
> > In mutt, it is as easy as:
> >   # Plain as default:
> >   message-hook ~A 'alternative_order text/plain'
> 
> I use just that:
> 
> alternative_order text/plain text/enriched text/html
> 
> Seems simpler, and does the job. BTW, I'm using the following viewer for
> the html-only e-mails (via .mailcap):
> 
> text/html; /usr/bin/elinks -dump -force-html '%s'; copiousoutput; 
> description=HTML Text; nametemplate=%s.html
> 
> This deals pretty badly with the formatting (and creates unnecessary
> margins), do you perhaps have a better more plaintext-like solution to
> the problem?

This works well for me:
text/html; /usr/bin/lynx -dump -force_html -width=100 -dont_wrap_pre '%s'; 
copiousoutput; description=HTML Text; nametemplate=%s.html

Christian

Reply via email to