Q&A > mail and news
Description: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 (register and) log in if you wish to add an answer
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr