On Fri, Sep 14, 2007 at 09:10:44AM +0100, Richard Lyons wrote: > On Fri, Sep 14, 2007 at 12:24:03AM +0100, Benjamin A'Lee wrote: > > > On Thu, Sep 13, 2007 at 05:46:21PM -0500, Ron Johnson wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > On 09/13/07 17:36, Richard Lyons wrote: > [...] > > > > could I in principle write a script to take such void plus html > > > > messages, strip the tags (replacing URLs when the href text > > > > doesn't have it) and write the bare text back into the source > > > > email > [...] > > > > There are viewers that can hook into Mutt even if you don't run it under > > X. > > > > In .muttrc: > > auto_view text/html > > > > In .mailcap: > > text/html; w3m -dump -T text/html '%s'; copiousoutput > > > > Or: > > text/html; lynx -dump '%s'; copiousoutput # or something like that. > > > > Or use the pipe function to feed it into one of those viewers, for an > > interactive session. > > Obviously a better method, yes. But when I reply, I will not get the > received text quoted ready for editing if the email is void. The best > approach might be to take the output of w3m (or links2, elinks, or lynx) > and write that back instead of the original attachment.
that's what others were saying about using procmail (or some other MDA) to pipe the message through a console based html reader and dumping the output back into the message body. A
signature.asc
Description: Digital signature