PHP Classes

GmAtom: Access Gmail mailboxes retrieving XML Atom feeds

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 2,957 All time: 1,260 This week: 524Up
Version License Categories
gmatom 1.0.0BSD LicenseEmail, XML, Web services


This class can be used to access Gmail mailboxes.

It establish an SSL connection to the Gmail Web servers, authenticates as a given user, and retrieves XML Atom feeds with lists of messages stored in the specified mailbox.

It can retrieve new mail messages on a single or multiple Gmail mailboxes. It can check all messages in inbox folder or just those flagged with a given label.

The retrieved message details are returned as arrays and may be sorted by any supported message property value.

Innovation Award
PHP Programming Innovation award nominee
November 2006
Number 6
Gmail has became one of the most popular Web mail applications.

It provides POP3 access, so any user can retrieve messages from their Gmail mailbox into another computer. However, POP3 access is not always possible, and some cases it may be inconvenient.

This package provides an alternative solution to retrieve messages from a Gmail mailbox for read only purposes. It accesses most of the details of the messages in a mailbox using XML Atom feed that Gmail provides via HTTP.

Manuel Lemos
Picture of Ve Bailovity
Name: Ve Bailovity <contact>
Classes: 5 packages by
Country: Yugoslavia
Age: 43
All time rank: 5052 in Yugoslavia
Week rank: 233 Up1 in Yugoslavia Up
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Files folder imagedoc (2 files)
Files folder imageexamples (5 files)
Plain text file gmatom.php Class Main library file

  Files folder image Files  /  doc  
File Role Description
  Accessible without login HTML file documentation.html Doc. Generated HTML documentation
  Accessible without login Plain text file README Doc. Read this first

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file check_inbox.php Example Check single inbox
  Accessible without login Plain text file check_multiple.php Example Check multiple accounts
  Accessible without login Plain text file receive_all_inbox.php Example Receive all new mail from inbox
  Accessible without login Plain text file receive_default_label.php Example Receives default number of new messages from certain label
  Accessible without login Plain text file receive_many_specific.php Example Receive specific number of new messages from Gmail Inbox

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,260
This week:524Up
 User Ratings  
 All time