arunmvit 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: read mail
by GrandFather (Saint) on Feb 03, 2011 at 08:25 UTC

    That depends just what you mean by "read mails from in box". If you mean download mail from a POP3 server then Mail::POP3Client is worth a try. If you mean something else you need to be much more specific.

    In any case you probably also want MIME::Parser to work with the contents of the email.

    True laziness is hard work
Re: read mail
by uksza (Canon) on Feb 03, 2011 at 09:44 UTC
    My suggestion is to use modules from Perl Email Project: Email::Folder (Maildir, Mbox, POP, IMAP) and Email::Simple.

    greetz, Uksza

    Yes, smart people know that fat arrow autoquotes the left argument. But why should you require your code to be maintained by smart people?
    Randal L. Schwartz, Perl hacker
Re: read mail
by Anonymous Monk on Feb 03, 2011 at 18:10 UTC
Re: read mail
by bart (Canon) on Feb 04, 2011 at 14:41 UTC
    A more primitive but workable solution can be found in Net::POP3, it works best on raw (plain text) emails.