Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Email grabber PHP library

Posted on 2011-09-11
2
Medium Priority
?
498 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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
We aren’t perfect, just like everyone else.  Check out the email errors our community caught and learn the top errors every email marketer should avoid.
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…
Suggested Courses
Course of the Month11 days, 2 hours left to enroll

886 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