accord/mandrill-swiftmailer-bundle
最新稳定版本:1.3.1
Composer 安装命令:
composer require accord/mandrill-swiftmailer-bundle
包简介
Symfony bundle to provide a Mandrill SwiftMailer service
README 文档
README
A Symfony bundle that provides a Mandrill Transport implementation based on Mandrill's API
Requirments
Mandrill API Key - https://mandrillapp.com/
Installation
Require the package with composer
composer require accord/mandrill-swiftmailer-bundle
Add AccordMandrillSwiftMailerBundle to application kernel
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Accord\MandrillSwiftMailerBundle\AccordMandrillSwiftMailerBundle(),
// ...
);
}
Add your API key to the config.yml
// app/config/config.yml
accord_mandrill_swift_mailer:
api_key: MANDRILL_API_KEY
async: false # optional
subaccount: ~ # default null
Configure Swiftmailer to use this new transport
// app/config/config.yml
swiftmailer:
transport: accord_mandrill
统计信息
- 总下载量: 561.09k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 23
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2014-12-18