perlCrazy has asked for the wisdom of the Perl Monks concerning the following question:
Above code stores all attachment and that is OK, but here all attachments are outlook message type and I need to parse all attachment and find the FROM email addresses.#!/usr/bin/perl use Mail::POP3Client; use Mail::MboxParser::Mail; my $pop = new Mail::POP3Client ('my','password','server'); for my $i (1 .. $pop->Count) { my $msg = Mail::MboxParser::Mail->new( [ $pop->Head($i) ], [ $pop->Body($i) ] ); $msg->store_all_attachments( path => '/tmp' ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to parse outlook type attachment from inbox
by jdtoronto (Prior) on Sep 22, 2006 at 11:24 UTC | |
by perlCrazy (Monk) on Sep 22, 2006 at 11:39 UTC | |
by jdtoronto (Prior) on Sep 22, 2006 at 13:38 UTC | |
by perlCrazy (Monk) on Sep 22, 2006 at 15:23 UTC | |
by jdtoronto (Prior) on Sep 22, 2006 at 17:01 UTC | |
|