Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I would like to use a script that can check my pop3 email similar to http://www.mail2web.com

Requirements:
1. Ability to check different pop3servers by me entering the server details.
2. Ability to send new emails and replies

I have no experience wrt to Perl, so i would appreciate a readymade script or an easy to use script for the same.

Replies are listed 'Best First'.
Re: Pop3 Checker
by castaway (Parson) on Nov 26, 2003 at 16:55 UTC
    Sorry, we tend not to give out ready-made scripts around here, this is a site to help people who want to program in perl, not to provide complete solutions. So the most advice you're likely to get is, try using Super Search to see if we already have such a thing, try looking at the finished scripts provided on CPAN to see if theres any there you could use.

    Barring that, you'll have to find one that more or less does what you want, try to change it to fit your needs, and then ask here if you get stuck.

    BTW: Theres a module (or two), for doing POP3 with perl, eg Net::Pop3, which makes pop3 very easy.

    C.

Re: Pop3 Checker
by VSarkiss (Monsignor) on Nov 26, 2003 at 17:08 UTC

    Two points: as castaway mentions above, there are modules on CPAN to make this simpler, but I doubt you'll find anything ready-made. Go to http://search.cpan.org and look for POP3.

    Also, note that sending email is not a POP3 function: that's only a protocol to receive mail. The standard protocol to send mail is SMTP. Although you don't have to interface directly at that level, if you want to both send and receive email, you'll need a program that talks to both.