openbuildings/swiftmailer-filter 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

openbuildings/swiftmailer-filter

Composer 安装命令:

composer require openbuildings/swiftmailer-filter

包简介

Whitelist / Blacklist from domains or emails for email sending

README 文档

README

Build Status Code Coverage Scrutinizer Code Quality Latest Stable Version

A swiftmailer plugin that allows whitelist / blacklist to which emails to perform the sends. This is useful for example when you want to allow emails only to a certain domain in testing / staging

Usage

$mailer = Swift_Mailer::newInstance();

$mailer->registerPLugin(new FilterPlugin([
    new WhiteListFilter(['example.com']),
    new BlacklistFilter(['test4@example.com, test5@example.com'])
]));

First argument is whitelist filter, second is blacklist filter, they both allow array of emails or domain names. If you assign a domain, all emails from that domain will be whitelisted / blacklisted.

License

Copyright (c) 2015, Clippings Ltd. Developed by Ivan Kerin as part of clippings.com

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

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 10
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2013-08-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固