Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Reading mail With attachments.

( #22471=categorized question: print w/ replies, xml ) Need Help??
Contributed by Zombie colt_seaver on Jul 14, 2000 at 02:58 UTC
Q&A  > mail and news


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?

Answer: Reading mail With attachments.
contributed by lhoward

Check out the MIME::Parser module. It has all the tools you will need to parse (and also build) MIME encoded messages.


  • Please read these before you post! —
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (10)
    As of 2014-12-27 18:48 GMT
    Find Nodes?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?

      Results (177 votes), past polls