Solved

POP

Posted on 1998-11-05
3
222 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
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…

726 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