On 2010-05-20 Jeroen Geilman wrote:
> On 05/19/2010 10:30 PM, Alex wrote:
>> Is it possible to strip the entire HTML content and pass only the
>> text? Perhaps the right way to say it would be to pass only the MIME
>> text and strip everything else?
>
> I found this fantastic little util called "mailtextbody" - it does
> just  that: strips off all non-text parts and leaves a clean,
> text-only message.

Sounds interesting, but how does it handle html-only mails (i.e. mails
with no text/plain MIME part) or mails that are declared text/plain, but
contain HTML nonetheless?

Regards
Ansgar Wiechers
-- 
"Abstractions save us time working, but they don't save us time learning."
--Joel Spolsky

Reply via email to