Solved

Email grabber PHP library

Posted on 2011-09-11
2
431 Views
Last Modified: 2012-05-12
I'm looking for an open source PHP library for grabbing emails from different accounts (gmail, msn, ...).

The library should at least provide an abstraction layer to user-credentials/login to the accounts, and to grab most relevant information for the email messages (e.g. subject, sender, recipient, status[read/new], ...).

I found a similar project, but for contacts:
http://sourceforge.net/projects/contactgrabber/

Thank you in advance
0
Comment
Question by:Gabo80
  • 2
2 Comments
 
LVL 40

Accepted Solution

by:
RQuadling earned 250 total points
ID: 36521967
I know GMail supports POP3. I don't use MSN, but Googling shows that there is support there.

So, as POP3 is a standard, pretty much any POP3 reader class will do.

Having got access to the mail repository, reading the message content is another thing entirely. All POP3 is is a store. The mail may be encoded in many different ways, but, unless you've got a weird setup, MIME encoding should prevail.

So, you'll need POP3 and MIME.

Here is a script I created for reading unread email from a POP3 store, extracting the attachments and saving elsewhere and then firing an email saying what has happened.

0
 
LVL 40

Expert Comment

by:RQuadling
ID: 36521975
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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 tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

758 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

17 Experts available now in Live!

Get 1:1 Help Now