clippings/swiftmailer-observers
最新稳定版本:1.1.0
Composer 安装命令:
composer require clippings/swiftmailer-observers
包简介
Assign bcc for specific email types globally
README 文档
README
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
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-06-25