For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > February 2007 > Module to convert emails









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Module to convert emails
SergioQ

2007-02-25, 6:58 pm

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

Jürgen Exner

2007-02-25, 9:58 pm

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


SergioQ

2007-02-26, 6:59 pm

On Feb 25, 9:17 pm, "J=FCrgen Exner" <jurge...@hotmail.com> 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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com