Solved

POP

Posted on 1998-11-05
3
223 Views
Last Modified: 2010-03-04
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
0
Comment
Question by:flivauda
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
thoellri earned 50 total points
ID: 1206003
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
 
LVL 1

Author Comment

by:flivauda
ID: 1206004
I found what I was looking for but I will give you the points anyway.  What I needed was RFC 1939
0
 
LVL 1

Author Comment

by:flivauda
ID: 1206005
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question