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

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: reading email locally ?
by dorward (Curate) on Apr 13, 2006 at 15:36 UTC

    If checking the email every 5 seconds is useful to you, then it is quite likely that you really want to be processing each email as it comes in.

    If so, take a look at a tool such as procmail which can (conditionally) pass email through external programs (including Perl scripts).

Re: reading email locally ?
by Fletch (Bishop) on Apr 13, 2006 at 15:17 UTC
Re: reading email locally ?
by eXile (Priest) on Apr 13, 2006 at 15:26 UTC
    ask your local sysadmin about how the mailserver is setup. If you are the sysadmin yourself please find the documentation on the mailserver in question and go read it.
Re: reading email locally ?
by xorl (Deacon) on Apr 13, 2006 at 15:25 UTC
    Use fetchmail to download the mail from the server, then use pine to read it.

    No it's not perl but it does work really well.

    You can also try Mail::Box or Email::Folder for a perl solution.

    Update: I forgot about procmail

Re: reading email locally ?
by sgifford (Prior) on Apr 13, 2006 at 18:52 UTC