-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/13/07 17:36, Richard Lyons wrote: > This is becoming more of a problem. There is a growing number of firms > that are incapable of sending out normal emails. They insist on sending > blank messages with an html attachment only. Of course this is usually > a sign of spam, and I usually delete such messages without wasting time > wondering what might be in them. But I do get some messages in this > form that I want to read, and even keep. > > Here is the thought that struck me: 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 so that I can see it? The html attachment could be left > in place or discarded, it usually won't matter which. Or would this > mess up the IMAP or Maildir indexing in some way? > > Obviously there are plenty of examples of html-strippers around, but > generally the output lands up somewhere else, and it would be a great > help if the missing original message could be inserted so as to be > viewable while browsing the email folder hierarchy.
Not a direct answer to your question, but if you are using mutt under X, then there are html viewers that can hook into mutt. - -- Ron Johnson, Jr. Jefferson LA USA Give a man a fish, and he eats for a day. Hit him with a fish, and he goes away for good! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG6b29S9HxQb37XmcRArWpAJ43ndkzbzCPS1mnvdbmBt8oHzbzjQCg4ZiJ GK7cboXfkXqLA6xn/9MySMI= =wwGb -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]