My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
README  
Package README Page
Phase-Deploy, Featured
Updated May 20, 2009 by klenw...@gmail.com

Greqo README

Report bugs at http://code.google.com/p/greqo/issues/list

LICENSE

GPL or LGPL where applicable

REQUIREMENTS

  • PHP 4+
  • Google (Gmail) Account
  • Google Blogger Account (for Blogger class)
  • Google Analytics Account (for Analytics class)

INSTALLATION

  • Download or Checkout Latest SVN Version from http://code.google.com/p/greqo/
  • Unzip
  • Install test Directory in Web Accessible Directory
  • Copy config -dist Files and Update with Your Google Account Information:
    • $ cp core.php-dist core.php
    • $ cp login.php-dist login.php *this must be updated
  • Make tmp Directory Writeable
    • $ chmod -R 777 /tmp

USAGE

Basic Example:

// load and send an email using account settings in conf/login.php
require_once($root_dir . 'greqo/greqo.class.php');
$Greqo = new Greqo();
$Greqo->load_mailer();
$subject = 'Greqo Mailer Acceptance Test ' . date('(Y-m-d H:i:s)');
$body = <<<EMAIL
This is a test of the Greqo GmailMailer, an extension of PHPMailer for use
with Gmail accounts.

For more information on Greqo, see:
http://code.google.com/p/greqo/
EMAIL;

$SendTo[] = array($Greqo->email, 'Greqo Mail Recipient');
$Greqo->send_mail($subject, $body, $SendTo);

For additional examples, see the acceptance tests directory.


Sign in to add a comment
Powered by Google Project Hosting