oh-sky/cakephp3-base64-email
Composer 安装命令:
composer require oh-sky/cakephp3-base64-email
包简介
CakePHP3 extension to encode the message body with Base64.
README 文档
README
CakePHP3 extension to encode the message body with Base64.
Requirements
- CakePHP 3.1.x
Installation
composer require oh-sky/cakephp3-base64-email
Example
<?php
namespace App\Shell;
use Cake\Console\Shell;
use OhSky\Cakephp3Base64Email;
class MailShell extends Shell
{
public function main()
{
$email = new Cakephp3Base64Email();
$mail = $email->from('from@example.com')
->to('to@example.com')
->subject('subject')
->send('Hello');
}
}
Test
git clone git@github.com:oh-sky/cakephp3-base64-email.git cakephp3-base64-email
cd cakephp3-base64-email
composer install --dev
./vendor/bin/phpunit --bootstrap vendor/autoload.php tests
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-16