|
|
| P is for Practical | |
| PerlMonks |
Re: mime::parser change attachment nameby Anonymous Monk |
| on Jan 28, 2013 at 08:58 UTC ( #1015644=note: print w/ replies, xml ) | Need Help?? |
|
The right way to do this is to write your own subclass of MIME::Parser::Filer and create a custom output_path function. An easier way might be to create a subdirectory for each email message, named, say, $i, and then use output_dir, like this
before parsing the $i'th email message
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||