承接 inits/gae-cakephp-email 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

inits/gae-cakephp-email

Composer 安装命令:

composer require inits/gae-cakephp-email

包简介

A Mail Transport Class written for CakePHP + Google App Engine Setups.

README 文档

README

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

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.

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.

Installation + Configuration

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

  2. Copy the Network folder from the zip to /app/Lib/

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

<?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:

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

Finish!

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL
  • 更新时间: 2015-07-01