cslweb/silverstripe-mandrill-mailer
Composer 安装命令:
composer require cslweb/silverstripe-mandrill-mailer
包简介
Allows you to use Mandrill to send your Silverstripe transactional emails.
关键字:
README 文档
README
Mandrill Mailer for SilverStripe to send SilverStripe Email through the Mandrill.com service.
This is a new Silverstripe Mailer services that communicates with the Mandrill PHP SDK to send email through their service. The benefits of which are outlined at Mandrill.com.
Events
As well as delivering mail through Mandrill this module contains a controller that will accept Mandrill events set up through their Webhook and Rules system
Requires
This module requires Silverstripe, I've tested this with version 2.4, 3.0 and 3.1
Installation
You can either install this through composer or through placing this module alongside the cms and framework directories. If you are manually installing this you'll need to download the Mandrill SDK
Setup
Inside the _config.php file you'll notice there are three lines that set out the instantiation of the Mailer - you'll need a Mandrill API key in place of APIKEYHERE. You can of course leve these commented out and set the mailer at a more specific month.
// $mailer = new MandrillMailer('APIKEYHERE');
// $mailer->set_track_opens(true);
// $mailer->set_track_clicks(true);
All of these functions map to their mandrill properties with $mailer->set_property;
- important
- track_opens
- track_clicks
- auto_text
- auto_html
- inline_css
- url_strip_qs
- preserve_recipients
- view_content_link
- tracking_domain
- signing_domain
- return_path_domain
- tags
- subaccount
- google_analytics_domains
- google_analytics_campaign
- metadata
- ip_pool
- async
- send_at
To-do
- Integrate Templating through the mandrill service
cslweb/silverstripe-mandrill-mailer 适用场景与选型建议
cslweb/silverstripe-mandrill-mailer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.13k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2015 年 02 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「mandrill」 「silverstripe」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 cslweb/silverstripe-mandrill-mailer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 cslweb/silverstripe-mandrill-mailer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 cslweb/silverstripe-mandrill-mailer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Library to send email across all platforms using one interface.
An updated fork (psr-0 to psr-4) from the original library "Mandrill/Mandrill" (https://bitbucket.org/mailchimp/mandrill-api-php)
Magento2 email providers integration (smtp, mandrill, amazon ses)
Laravel 9+ Mandrill Driver & Webhooks handler
Analytics chooser extensions for site settings.
统计信息
- 总下载量: 1.13k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-02-05