Re: Forwarding HTML mail as text
On Thu, Jun 03, 2004 at 09:22:48AM -0600, Ben Livingood wrote:
> Hi Chris,
>
> * Chris Green (chris@xxxxxxxxxxx) wrote thusly unto the masses:
> > Is there any way to get mutt to forward HTML mail as text?
>
> Yep!
>
> > I have mutt set up to use lynx to view HTML mail but if I forward an
> > HTML mail message it's forwarded as HTML within the body of the
> > forwarded message and I suspect that the recipients won't like that
> > very much!
>
> This is my mailcap setting and it seems to work, as the message is put
> in-line:
>
> text/html; lynx -nolist -force_html -dump %s; copiousoutput
>
> I can attest that this works for those folks that use the hotmail mail
> that comes in html only.
>
Thanks for replying, however....
My mailcap has:-
text/html; lynx -nocolor -cfg /usr/chris/lib/lynx.cfg -underscore
-force_html -dump %s; copiousoutput
When I forward a message that appears to me as:-
[-- Autoview using lynx -nocolor -cfg /usr/chris/lib/lynx.cfg -underscore
-force_html -dump '/proj/chris/tmp/muttiqaOPk' --]
Chris,
I have found two errors in MAR. One of them is very close to the one
[snip rest of message]
It gets forwarded as (i.e. what loads into my editor to add to as required):-
----- Forwarded message from Robert Standley <robert.standley@xxxxxxxxx>
-----
Received: from localhost (localhost [127.0.0.1])
by borg.GEMS (8.8.8+Sun/8.8.8) with ESMTP id UAA02549
for <chris@localhost>; Wed, 2 Jun 2004 20:01:51 +0100 (BST)
Received: from localhost [127.0.0.1]
by localhost with POP3 (fetchmail-6.2.2)
for chris@localhost (single-drop); Wed, 02 Jun 2004 20:01:51 +0100
(BST)
Received: from localhost (cgreen@localhost [127.0.0.1])
by shell.x-1.net (8.9.3p2/8.9.3/Debian 8.9.3-21) with ESMTP id
UAA11630
for <home@localhost>; Wed, 2 Jun 2004 20:00:08 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Received: from pop3.hostedservices.co.uk [217.28.130.40]
by localhost with POP3 (fetchmail-6.1.1)
for home@localhost (single-drop); Wed, 02 Jun 2004 20:00:08 +0100
(BST)
Received: by THEXCHBEX.services.byworkwise.com
id <01C448D3.26BF3602@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>; Wed, 2
Jun 20>
MIME-Version: 1.0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
content-class: urn:content-classes:message
Subject: FR29824
Date: Wed, 2 Jun 2004 19:55:19 +0100
Message-ID:
<AB53824C52EFE7428BF0C029A920C3AA05282CB1@xxxxxxxxxxxxxxxxxxxxxxxxx>
Thread-Topic: FR29824
Thread-Index: AcRI03G8Li51Ej0ITMa5+MeRip7Zdg==
From: Robert Standley <robert.standley@xxxxxxxxx>
To: Chris Green <chris.green@xxxxxxxxx>
Cc: Robert Standley <robert.standley@xxxxxxxxx>
Status: RO
X-Status: A
Content-Length: 5534
Lines: 119
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D203484618-02062004><FONT face=3D"Comic Sans MS"=20
color=3D#0000ff>Chris,</FONT></SPAN></DIV>
<DIV><SPAN class=3D203484618-02062004><FONT face=3D"Comic Sans MS"=20
<DIV><SPAN class=3D203484618-02062004><FONT face=3D"Comic Sans
MS"=20
color=3D#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=3D203484618-02062004><FONT face=3D"Comic Sans MS" =
color=3D#0000ff>I=20
have found two errors in MAR. One of them is very close to the one =
That looks pretty much like HTML to me inside the forwarded message,
how can I convert it to text?
--
Chris Green (chris@xxxxxxxxxxx)