|
|
| Marcos Rebelo 2004-08-04, 3:56 pm |
| 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?
Marcos
| |
| Wiggins D Anconia 2004-08-04, 3:56 pm |
| > 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?
>
> Marcos
>
Check out the MIME::Parser or Mail::Box modules from CPAN. There are
others probably but these two I have used.
http://danconia.org
| |
| Brian Gerard 2004-08-04, 3:56 pm |
| And the clouds parted, and Wiggins d Anconia said...
>
>
> 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. |
\_______________________________________
_______________________________/
| |
| Thomas bätzler 2004-08-04, 8:55 pm |
| Marcos.Rebelo@eurocopter.com <Marcos.Rebelo@eurocopter.com> asked:
> 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?
Yeah. MIME::Parser from the MIME-tools distribution.
HTH,
Thomas
|
|
|
|