2017 © Pedro Peláez
 

cakephp-plugin gaemail

My first Composer project

image

gae/gaemail

My first Composer project

  • Tuesday, July 7, 2015
  • by williamnwogbo
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

gae-cakephp-email

A Mail Transport Class written for [CakePHP] (http://cakephp.org/) + [Google App Engine] (https://developers.google.com/appengine/docs/php) Setups., (*1)

One of the challenges when deploying CakePHP on Google App Engine for PHP is the fact that you cannot send out mails using the normal [CakeEmail] (http://book.cakephp.org/2.0/en/core-utility-libraries/email.html) class., (*2)

So I wrote this class to wrap around the Google App Engine [Message] (https://cloud.google.com/appengine/docs/php/mail/) class so it seamlessly works., (*3)

Installation + Configuration

  1. [Download the latest code] (https://github.com/dftaiwo/gae-cakephp-email/archive/master.zip) or clone this repo, (*4)

  2. Copy the Network folder from the zip to /app/Lib/, (*5)

  3. Lastly, update /app/Config/email.php to have at least the following, (*6)

<?php

class EmailConfig {

    public $default = array(
        'transport' => 'GAE',
    );


}

And use the following when creating an instance of the [CakeEmail] (http://book.cakephp.org/2.0/en/core-utility-libraries/email.html) class in your code:, (*7)

<?php
$emailObj = new CakeEmail('default');

Finish!, (*8)

The Versions

07/07 2015

dev-master

9999999-dev

My first Composer project

  Sources   Download

The Requires

  • php >=5.3.0

 

email cakephp