Solved

POP

Posted on 1998-11-05
3
215 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
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
thoellri earned 50 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now