Re: attachment names

Mark Overmeer <[email protected]> Thu, 21 Jul 2005 08:28:45 +0200
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <[email protected]>
* Simon, Michael S ([email protected]) [050720 22:02]:
> Thanks.  The msg didn't' seem to work but the following did.  The $msg
> would not be at the individual part so it wouldn't find a filename
> correct?  There could be more then one.  But at the individual part(s)
> is where it will be.  Right?  New to email parsing.
> 
> $part->decoded->dispositionFilename is what worked.

Of course, you have to call it on the message part which you need to unpack.  There could
easily be more than one.
-- 
    MarkOv