Re: Need to write a pop3 attachment fetch program

2004-07-22 Thread james derry
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

Re: Need to write a pop3 attachment fetch program

2004-07-22 Thread james derry
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

Re: Need to write a pop3 attachment fetch program

2004-07-22 Thread JupiterHost.Net
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

Re: Need to write a pop3 attachment fetch program

2004-07-14 Thread Morbus Iff
>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

Need to write a pop3 attachment fetch program

2004-07-14 Thread C.F. Scheidecker Antunes
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