http://qs321.pair.com?node_id=22471

colt_seaver has asked for the wisdom of the Perl Monks concerning the following question:

I stole a script from LinuxJournal (Yep Sue me, I'm learning Perl!) to read my mail in the browser but when the messages got an attachment the whole text of the file is displayed. I want to avoid this.

Can you help?

Originally posted as a Categorized Question.

Replies are listed 'Best First'.
Re: Reading mail With attachments.
by lhoward (Vicar) on Jul 14, 2000 at 04:17 UTC
    Check out the MIME::Parser module. It has all the tools you will need to parse (and also build) MIME encoded messages.