perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kee Hinckley <>
Subject Re: Email Decoder
Date Fri, 19 Sep 2003 13:18:15 GMT
At 3:48 PM +0800 9/19/03, Sherwin Daganato wrote:
>On Thu, Sep 18, 2003 at 02:51:19PM -0700, Gerardo Schimpf wrote:
>>  Hi guys!
>>  I'm looking Perl Module that does email decoder.
>>  I mean something that I gave to the email file and the Module returns
>>  the Message, Subject, Headers, etc, etc.
>FROM perldoc Mail::Internet
>Mail::Internet - manipulate Internet format (RFC 822) mail messages
>This package provides a class object which can be used for reading,
>creating, manipulating and writing a message with RFC822 compliant

Frankly, if you're just doing headers I'm not sure I'd bother with 
any package, the overhead usually isn't worth it if all you want to 
do is grab certain headers.  (Unless of course you need to do things 
like decode encoded subjects and the like.)

>If you start writing a new application, you may want to use the
>Mail::Box set of packages (requires perl 5.6.1), which has more fea-
>tures.  See

That might be okay for headers (modulo my comment above).  However I 
found it not good for webmail because it wants to read the entire 
mailbox every time.  If you have each file as a message that doesn't 
scale well.  It would work for a normal application, but on the web 
that means re-reading all the headers every time a page is fetched.
Kee Hinckley         Next Generation Spam Defense  Writings on Technology and Society

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message