Solved

PHP script or class to copy emails from a POP3 server to a database

Posted on 2007-03-25
2
317 Views
Last Modified: 2013-12-25
Anybody know of a good PHP command line script that will connect to a POP3 mail client and download the contents of the emails into a database. Need one that splits up the to, from, subject, content, time, etc ... and that will save the attachments into a subdirectory and store the filenames in the db at the same time.

If nobody knows of a command line script, maybe a PHP class with some of this functionality that I can adapt?

Doesn't even have to be PHP ... a Perl solution would be fine.
0
Comment
Question by:under_dog
[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 Comments
 
LVL 19

Accepted Solution

by:
BrianGEFF719 earned 500 total points
ID: 18789771
The pear package Net_POP3 can do exactly what you want:
 http://pear.php.net/package/Net_POP3
0
 
LVL 16

Expert Comment

by:alain34
ID: 18792041
I wrote a project that read a pop3 account and create a xml feed from it.
Everything that you need must be in this project. Surely from the feed, you should be able to load it a database.
http://freshmeat.net/projects/conceptrm/
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

739 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