Solved

Email grabber PHP library

Posted on 2011-09-11
2
443 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:
Richard Quadling 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:Richard Quadling
ID: 36521975
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

815 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

12 Experts available now in Live!

Get 1:1 Help Now