PHP Classes

File: examples/check_inbox.php

Recommend this page to a friend!
  Classes of Ve Bailovity  >  GmAtom  >  examples/check_inbox.php  >  Download  
File: examples/check_inbox.php
Role: Example script
Content type: text/plain
Description: Check single inbox
Class: GmAtom
Access Gmail mailboxes retrieving XML Atom feeds
Author: By
Last change: Access without login.
Date: 15 years ago
Size: 419 bytes


Class file image Download
 * Check Gmail Inbox example.
 * This just checks Gmail Inbox for new mail.
 * Created on 11-Nov-06.
 * @package gmTest
 * @author Vladislav Bailovic <>

include ('../gmatom.php');

$g = new GmAtom ('username', 'password');
$msgCount = $g->check();
if (
false === $msgCount) {
    die (
} else {
"<h1>".$msgCount." new messages</h1>";


For more information send a message to info at phpclasses dot org.