If you mean when an attachment is a mail message with attachments... yes. Cheers, Kevin
On Thu, Jul 18, 2002 at 01:33:21PM -0400, Wiggins d'Anconia ([EMAIL PROTECTED]) said something similar to: > On a side note and out of laziness (I know RTFM).... > > Does MIME::Parser handle recursive attachments?? We attempted to home > grow a parser a couple of years ago (I realize a lot has changed since > then) but were always trapped by multiple attachments inside an > attachment, etc. which for whatever reason we never could get to work. I > suppose you could use a regular recursive call to the standard > MIME::Parser methods, but I was just curious if it handled this on its own? > > > > > > Kevin Meltzer wrote: > > I use MIME::Parser, and have always loved it. It will extract > > attachments to files, and you can do what you want with them. > > > > For example: > > > > use MIME::Parser; > > my $message = <however you are getting the raw message>; > > $parser->output_dir('/some/directory'); > > my $entity = $parser->parse_data(\$message); > > > > At this point, attachments should have been parsed out and created in > > $INCOMING_DIR. Use $entity to fondle the rest of the message as you > > want. Much more info in the docs. > > > > Cheers, > > Kevin > > > > On Thu, Jul 18, 2002 at 10:25:52AM -0700, Steve Gilbert ([EMAIL PROTECTED]) >said something similar to: > > > >>Does anyone have a suggestion for extracting file > >>attachments from emails? I need to setup a process > >>that pulls data from an email and then moves the data > >>and starts another process. > >> > >>Any help would be great! > >> > > > > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- [Writing CGI Applications with Perl - http://perlcgi-book.com] It would be easier to pay off the national debt overnight than to neutralize the long-range effects of OUR NATIONAL STUPIDITY. -- Frank Zappa -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]