Solved

POP

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
collecting information 2 158
pipe to sed or perl, please help 5 128
PERL variable conundrum 9 90
add a syntax to a csv file 8 99
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 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