Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by moritz (Cardinal)
on May 06, 2014 at 12:58 UTC ( [id://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.

Replies are listed 'Best First'.
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);
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 ?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-19 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found