Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

read mail

by arunmvit (Initiate)
on Feb 03, 2011 at 08:04 UTC ( [id://885907]=perlquestion: print w/replies, xml ) Need Help??

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

This node falls below the community's threshold of quality. You may see it by logging in.

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://885907]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-25 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found