i should have mentioned that this is a modified script from lincoln
stein's book, network programming with perl, which i highly recommend.
james
james derry wrote:
this might not be the best-written script, but might this help?
#!/usr/bin/perl
# file: pop_fetch.pl
#text attachments are first appe
this might not be the best-written script, but might this help?
#!/usr/bin/perl
# file: pop_fetch.pl
#text attachments are first appended to a single file, then that file is
re-opened for reading and its lines are first matched to one of two
regular expressions.
# depending on match, the line is
C.F. Scheidecker Antunes wrote:
Hello all,
Hello,
Although I have done this same thing in PHP and Java before I have an
urgent need to accomplish it in Perl due to specific requirements.
What I need is to write an application that:
- Access a pop3 remote account
- Iterate through the list of mes
>What I need is to write an application that:
>- Access a pop3 remote account
>- Iterate through the list of messages on the server
>- Download the attachments and save them localy on the machine
>- delete all downloaded messages
See http://disobey.com/detergent/code/leecharoo/leechpop.pl
The code
Hello all,
Although I have done this same thing in PHP and Java before I have an
urgent need to accomplish it in Perl due to specific requirements.
What I need is to write an application that:
- Access a pop3 remote account
- Iterate through the list of messages on the server
- Download the attac