Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

E-mail Parsing
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

Report this thread to moderator Post Follow-up to this message
Old Post
Marcos Rebelo
08-04-04 08:56 PM


Re: E-mail Parsing
> 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

Report this thread to moderator Post Follow-up to this message
Old Post
Wiggins D Anconia
08-04-04 08:56 PM


Re: E-mail Parsing
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.       |
 \_______________________________________
_______________________________/

Report this thread to moderator Post Follow-up to this message
Old Post
Brian Gerard
08-04-04 08:56 PM


RE: E-mail Parsing
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


Report this thread to moderator Post Follow-up to this message
Old Post
Thomas bätzler
08-05-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Beginners archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:39 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.