Converting HTML and MIME to plain text mail
    VirginSnow at vfemail.net 
    VirginSnow at vfemail.net
       
    Tue Oct  7 23:50:55 EDT 2008
    
    
  
> Date: Tue, 7 Oct 2008 12:08:19 -0400
> From: "Ben Scott" <dragonhawk at gmail.com>
> * When a plain text body alternative is provided, strip any other body
> alternatives
> * Render HTML to plain text, when only an HTML body is provided
> * Strip any remaining MIME headers
Hm.  Maybe:
* Convert to ASCII as Ben described
* If there's a text/html but no text/plain:
   1 convert the HTML to text
   2 add the text/plain alternative to the message
   3 leave the text/html alternative
* Convert file attachments to uuencode
Yeah, I'm a fan of that last one, too. :D
By leaving all the sections in the message, things like PGP signatures
would remain intact.
> some combination of procmail, base64(1), demoroniser, "lynx -dump",
Is that a real program name, "demoroniser"?  LOL....I'm having fun
trying to imagine just what a program named "demoroniser" could do!
    
    
More information about the gnhlug-discuss
mailing list