定制 rayhan/ray-mailer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

rayhan/ray-mailer

Composer 安装命令:

composer require rayhan/ray-mailer

包简介

A mailer plugin for CakePHP3 using database driven Layouts and Templates.

README 文档

README

Build Status Software License

RayMailer plugin for CakePHP

Installation

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

composer require rayhan/ray-mailer

Configuration

Add following line to your app bootstrap.php file.

Plugin::load('RayMailer', ['routes' => true]);

Database

Add database schema from the config/Schema/raymailer.sql file.

Usage

Create Layouts and Templates

Access templates at http://path_to_your_cake_installation/ray-mailer/templates

Create database layout and templates as necessary.

Load mailer class

use RayMailer\Mailer\RayMailer;

Send email

$mailer = new RayMailer();
$result = $mailer->deliver('welcome-email', ['to' => 'example@example.com', 'param1' => 'Value of param1'], ['debug' => false]);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-10-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固