Module to convert emails

Module to convert emails

am 25.02.2007 20:20:29 von SergioQ

Hello All,

I was curious if anyone here was aware of any Perl module that spits
out a plain text version of an email? So no matter what format (multi
or not) the emails was in, it would return just a text version.

Am useing Mail::Internet and did a search on CPAN, but perhaps I am
using the wrong search terms.

Thanks ahead,

Sergio

Re: Module to convert emails

am 26.02.2007 03:17:26 von jurgenex

SergioQ wrote:
> I was curious if anyone here was aware of any Perl module that spits
> out a plain text version of an email? So no matter what format (multi
> or not) the emails was in, it would return just a text version.

Teh MIME modules will give you access to the individual components of a MIME
mail.
Converting HMTL into plain text is a FAQ: "How do I remove HTML from a
string?

jue

Re: Module to convert emails

am 26.02.2007 17:25:50 von SergioQ

On Feb 25, 9:17 pm, "Jürgen Exner" wrote:

> Teh MIME modules will give you access to the individual components of a M=
IME
> mail.
> Converting HMTL into plain text is a FAQ: "How do I remove HTML from a
> string?

Thanks Jue. Will look at those modules. As for the FAQ part it goes
beyond that since emails can have far more than jsut HTML. So was
looking for the one size fits all approach, if it existed.

Sergio