POP

I need the specs to the POP so I can write a program that will download all my mail from different accounts.
If someone can point me to the specs the points are your, or if someone has code to do it I will raise the points
LVL 1
flivaudaAsked:
Who is Participating?
 
thoellriConnect With a Mentor Commented:
1.) perldoc Net::POP3
2.) Sample:
use NET::POP3;
$pop = Net::POP3->new('pop3mailhost');
$pop->user('myusername');
$pop->pass('myverysecretpassword');
$msgs=$pop->list();
foreach $msg (keys %$msgs) {
   print "Message $msg: Size= $$msgs{$msg}\nHeader:\n";  
   foreach (@{$pop->top($msg)}) {
     print;
   }
}
$pop->quit();

Hope this helps
  Tobias

0
 
flivaudaAuthor Commented:
I found what I was looking for but I will give you the points anyway.  What I needed was RFC 1939
0
 
flivaudaAuthor Commented:
I have tried this but I keep getting invalid password ... any ideas.  I can get past the $pop->user($username) but i die on the pass but but pasword is correct
0
All Courses

From novice to tech pro — start learning today.