http://qs1969.pair.com?node_id=1085171


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 ?