定制 clippings/swiftmailer-observers 二次开发

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

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

clippings/swiftmailer-observers

最新稳定版本:1.1.0

Composer 安装命令:

composer require clippings/swiftmailer-observers

包简介

Assign bcc for specific email types globally

README 文档

README

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version

Assign bcc for specific email types globally

Installation

Install via composer

composer require clippings/swiftmailer-observers

Usage

$mailer->registerPLugin(new ObserversPlugin([
    'test@example.com' => [
        'event1',
        'event2',
    ]
]));

$headers = $message->getHeaders();
$headers->addTextHeader(ObserversPlugin::HEADER, 'event1');

// Will add 'test@example.com' to bcc
$mailer->send($message);

License

Copyright (c) 2015, Clippings Ltd. Developed by Ivan Kerin

Under BSD-3-Clause license, read LICENSE file.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-06-25