in reply to Getting rid of HTML in POP3Client

You can use MIME::Parser to process the body into a MIME::Entity (part of MIME::Tools - this suite has a few dependencies ie other modules you need like from memory IO::Stringy and some others.

I promised you some code for a webmail app and will email you the base code now - I have been doing the family thing and have not packaged it up yet. It uses a custom MIME parser to process emails. The whole app is some 5000 lines so it takes a bit of getting you head around but you will find what you want in the parse_head() parse_body() and related functions.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print