Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How to use Email::MIME::Attachment::Stripper to download email attachments?

by moritz (Cardinal)
on May 06, 2014 at 12:58 UTC ( #1085171=note: print w/ replies, xml ) Need Help??


in reply to How to use Email::MIME::Attachment::Stripper to download email attachments?

Why do you only run Email::MIME::Attachment::Stripper against $parts[1], and not, say, the whole email?

Also, your code misses the essential

use strict; use warnings;

lines that you should always use.


Comment on Re: How to use Email::MIME::Attachment::Stripper to download email attachments?
Select or Download Code
Re^2: How to use Email::MIME::Attachment::Stripper to download email attachments?
by pankaj_it09 (Scribe) on May 06, 2014 at 13:08 UTC
    How to run for the whole email ?
Re^2: How to use Email::MIME::Attachment::Stripper to download email attachments?
by pankaj_it09 (Scribe) on May 06, 2014 at 13:35 UTC
    I gave like this -->

    $stripper = Email::MIME::Attachment::Stripper->new($parsed);

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2014-08-30 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls