And the clouds parted, and Wiggins d Anconia said... > > > I'm have a email in a text file. From this file I would like to get the > > sender information, the attached files and the body of the e-mail. > > > > Is there something simple to do this? > > > > Check out the MIME::Parser or Mail::Box modules from CPAN. There are > others probably but these two I have used. >
I'll second the nomination for Mail::Box. I'm using it to parse a collection of emails for processing on the headers and body and it works like a charm! HTH- Brian /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\ | Brian Gerard Duct tape is like the Force. It has | | First initial + 'lists' a light side and a dark side and | | at technobrat dot com it holds the universe together. | \______________________________________________________________________/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>