Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Reading mail With attachments.

by colt_seaver (Initiate)
on Jul 14, 2000 at 02:58 UTC ( [id://22471]=perlquestion: print w/replies, xml ) Need Help??

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://22471]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-26 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found