Read attachment

Read attachment

am 28.09.2007 17:51:22 von didlep

Hi,

Please, I wich read some mails with POP or IMAP protocol and extract
attachment from these. How can i do this in perl (of course) ?

Thanks,

Re: Read attachment

am 28.09.2007 17:53:21 von glex_no-spam

N@p0 wrote:
> Hi,
>
> Please, I wich read some mails with POP or IMAP protocol and extract
> attachment from these. How can i do this in perl (of course) ?

There are a lot of modules at CPAN, of course.

http://search.cpan.org/

Re: Read attachment

am 29.09.2007 00:08:24 von Martien Verbruggen

On Fri, 28 Sep 2007 15:51:22 -0000,
N@p0 wrote:
> Hi,
>
> Please, I wich read some mails with POP or IMAP protocol and extract
> attachment from these. How can i do this in perl (of course) ?

I'd probably use Net::IMAP (or Net::IMAP::Simple) to get the message,
and MIME::Tools to unpack it. There may be alternative modules that can
be used. Have a look on CPAN, or do a search on your favourite web or
Usenet search engine. Mine's at www.google.com.

Martien
--
|
Martien Verbruggen | Think of the average person. Half of the
| people out there are dumber.
|